git://105106.c2e0p.group
/
dotfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a971bbe
)
Zsh tweaks.
author
Jer Noble
<jer.noble@apple.com>
Thu, 17 Jan 2013 16:15:36 +0000
(08:15 -0800)
committer
Jer Noble
<jer.noble@apple.com>
Thu, 17 Jan 2013 16:15:36 +0000
(08:15 -0800)
zsh_login
patch
|
blob
|
history
zsh_webkit_login
patch
|
blob
|
history
diff --git
a/zsh_login
b/zsh_login
index 80d35cf6057c761fd60910ed5fcb362734a9ba04..032a58d2d32dc81777f478471b4d062de45a0f77 100644
(file)
--- a/
zsh_login
+++ b/
zsh_login
@@
-23,6
+23,8
@@
precmd() {
setopt PROMPT_SUBST
setopt INC_APPEND_HISTORY
setopt SHARE_HISTORY
+setopt extended_glob
+
PS1=$'\(zsh) %(?.%F{green}:-\)%f.%F{red}:-(%f) %(1v.%1v .)%n@%m:%(3~,.../,)%2~> '
PATH=~/bin:$PATH
@@
-34,6
+36,8
@@
export MANPATH=~/man:$MANPATH
export EDITOR=/usr/bin/vim
export LSCOLORS=gxfxcxdxbxegedabagacad
+zstyle ':completion:*' list-colors 'di=36;40:ln=35;40:so=32;40:pi=33;40:ex=31;40:bd=34;46:cd=34;43:su=0;41:sg=0;46:tw=0;42:ow=0;43:'
+
source ~/.dotfiles/zsh_aliases
source ~/.dotfiles/zsh_webkit_login
diff --git
a/zsh_webkit_login
b/zsh_webkit_login
index 555e6d54db6c0f9103e9ff645ac9e6f7313a3c7d..6dc46579aab34e1e3d1f3081356f369dd8dc1dbb 100644
(file)
--- a/
zsh_webkit_login
+++ b/
zsh_webkit_login
@@
-19,3
+19,5
@@
_webkit_dirs() { compadd $( for dir in ~/Projects/WebKit.*; do echo ${dir##*.};
_switchto() { _arguments '1:dir:_webkit_dirs' }
compdef _switchto switchto
+
+switchto git