From: PHO Date: Fri, 18 Sep 2009 09:43:19 +0000 (+0900) Subject: Auto commit by The Sugar System. X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=e6b7cb629e21c21dd43423158020810d40477204;p=sugar.git Auto commit by The Sugar System. --- diff --git a/dot-files/_emacs_el b/dot-files/_emacs_el index 75b0e62..e2daa01 100644 --- a/dot-files/_emacs_el +++ b/dot-files/_emacs_el @@ -263,6 +263,10 @@ (setq cperl-indent-level 4) (setq cperl-indent-parens-as-block t) +;; Erlang +(add-to-list 'load-path "/usr/pkg/lib/erlang/lib/tools-2.6/emacs") +(require-if-present 'erlang-start) + ;; SKK (require 'skk-autoloads) (global-set-key "\C-x\C-j" 'skk-mode) diff --git a/dot-files/_fluxbox/keys b/dot-files/_fluxbox/keys index 58499fd..4368649 100644 --- a/dot-files/_fluxbox/keys +++ b/dot-files/_fluxbox/keys @@ -1,3 +1,18 @@ +!mouse actions added by fluxbox-update_configs +OnTitlebar Mouse2 :StartTabbing + +!mouse actions added by fluxbox-update_configs +OnTitlebar Double Mouse1 :Shade +OnTitlebar Mouse3 :WindowMenu + +!mouse actions added by fluxbox-update_configs +OnWindow Mod1 Mouse1 :MacroCmd {Raise} {Focus} {StartMoving} +OnWindow Mod1 Mouse3 :MacroCmd {Raise} {Focus} {StartResizing BottomRight} + +!mouse actions added by fluxbox-update_configs +OnToolbar Mouse4 :NextWorkspace +OnToolbar Mouse5 :PrevWorkspace + OnDesktop Mouse1 :HideMenus OnDesktop Mouse2 :WorkspaceMenu OnDesktop Mouse3 :RootMenu @@ -23,4 +38,4 @@ Mod1 F11 :Workspace 11 Mod1 F12 :Workspace 12 Mod1 Control bracketleft :PrevTab -Mod1 Control bracketright :NextTab \ No newline at end of file +Mod1 Control bracketright :NextTab diff --git a/dot-files/_hgrc b/dot-files/_hgrc index ea510ea..b45ff80 100644 --- a/dot-files/_hgrc +++ b/dot-files/_hgrc @@ -11,5 +11,5 @@ username = PHO hgext.mq = hgext.fetch = hgext.graphlog = -pager= +#pager= color= diff --git a/dot-files/_screenrc b/dot-files/_screenrc index 573e24a..a2a1ea3 100644 --- a/dot-files/_screenrc +++ b/dot-files/_screenrc @@ -5,6 +5,6 @@ defscrollback 50000 defutf8 on defflow off -shelltitle '% |zsh' +#shelltitle '% |zsh' hardstatus alwayslastline "[%02c] %`%-w%{=b rw}%n %t%{-}%+w" diff --git a/dot-files/_zshrc b/dot-files/_zshrc index 6392b26..b01a0b9 100644 --- a/dot-files/_zshrc +++ b/dot-files/_zshrc @@ -60,11 +60,20 @@ _prompt_base='%B[%n@%m] %{%(?.$fg[green].$fg[red])%}%#%{$reset_color%}%b ' if ( _we_are_in_gnu_screen ); then # Magic escape sequence for GNU Screen to update their titles # dynamically by grabbing prompt line. - PROMPT=$'%{\ek\e\\%}'$_prompt_base + #PROMPT=$'%{\ek\e\\%}'$_prompt_base + + PROMPT=$'%{\ek_\e\\%}'$_prompt_base else PROMPT=$_prompt_base fi +function preexec() { + if ( _we_are_in_gnu_screen ); then + local cmd=${1[(wr)^(*=*|sudo|nice|-*|[0-9]*)]} + printf "\ek$cmd\e\\" + fi +} + RPROMPT='%U%D{%m/%d}%u %U%D{%T}%u %U%~%u' HISTFILE="$HOME/.zhistory"