]> git.rmz.io Git - dotfiles.git/commitdiff
Merge branch 'master' of tardis:/dotfiles
authorSamir Benmendil <samir.benmendil@gmail.com>
Thu, 28 Feb 2013 21:49:39 +0000 (22:49 +0100)
committerSamir Benmendil <samir.benmendil@gmail.com>
Thu, 28 Feb 2013 21:49:39 +0000 (22:49 +0100)
Xmodmap_darwin [new file with mode: 0644]
zsh/themes/ramsi.zsh-theme

diff --git a/Xmodmap_darwin b/Xmodmap_darwin
new file mode 100644 (file)
index 0000000..d01a9f7
--- /dev/null
@@ -0,0 +1,18 @@
+keycode 37 = Super_L
+keycode 49 = less greater less greater bar brokenbar bar
+keycode 94 = grave asciitilde dead_grave dead_tilde
+keycode 104 = ISO_Level3_Shift
+keycode 133 = Control_L
+keycode 134 = Control_R
+
+clear control
+clear Mod4
+clear Mod5
+
+add control = Control_L Control_R
+add Mod4 = Super_L
+add Mod5 = ISO_Level3_Shift
+
+! remap Caps_Lock as Escape
+remove Lock = Caps_Lock
+keysym Caps_Lock = Escape
index e0d852f794005a280f765aee531a3328eed409cc..772777f1b49e9e543cfe3c3bb992adeb04f3c113 100644 (file)
@@ -1,5 +1,6 @@
-[[ $(hostname) == "tardis" ]] && hostcolor=red
-[[ $(hostname) == "shada" ]]  && hostcolor=green
+[[ $(hostname) == "tardis" ]]  && hostcolor=red
+[[ $(hostname) == "shada" ]]   && hostcolor=green
+[[ $(hostname) == "darwin" ]]  && hostcolor=green
 PROMPT='%(?..%{$fg_bold[white]%}[%?])%{$reset_color%}[%D{%k:%M} %n@%{$fg[$hostcolor]%}%m%{$reset_color%}$(git_prompt_info)]%# '
 RPROMPT='%{$fg[green]%}%~%{$reset_color%}'