Added some completion scripts and updated some zsh config

This commit is contained in:
Nick Nisi
2012-07-03 09:42:18 -05:00
parent e23ce75e4e
commit 7ef38eba7c
9 changed files with 25 additions and 4 deletions

2
zsh/functions/_c Normal file
View File

@@ -0,0 +1,2 @@
#compdef c
_files -W $PROJECTS -/

1
zsh/functions/c Normal file
View File

@@ -0,0 +1 @@
cd $PROJECTS/$1

View File

@@ -0,0 +1 @@
ls -t $* 2> /dev/null | head -n 1

View File

@@ -0,0 +1,5 @@
zstyle ':completion:*' verbose yes
zstyle ':completion:*:descriptions' format '%B%d%b'
zstyle ':completion:*:messages' format '%d'
zstyle ':completion:*:warnings' format 'No matches for: %d'
zstyle ':completion:*' group-name ''