X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/163aa8b3ad37dedc5b26535447d9e9124e28e8c9..0701131d8dcb80689a38b892abc1994b1d9bf5cc:/.zsh/zshrc/30_aliases diff --git a/.zsh/zshrc/30_aliases b/.zsh/zshrc/30_aliases index fbbb946..c630f6f 100644 --- a/.zsh/zshrc/30_aliases +++ b/.zsh/zshrc/30_aliases @@ -70,9 +70,8 @@ alias bug='BROWSER=www-browser bts show' # handy documentation lookup on Debian # from http://www.michael-prokop.at/computer/config/.zshrc -doc() { cd /usr/share/doc/$1 && ls } -_doc() { _files -W /usr/share/doc -/ } -compdef _doc doc +doc() { cd /usr/share/doc/$1 } +compdef '_files -W /usr/share/doc -/' doc alias giti='git init && git add . && git commit -minitial\ checkin && git tag orig'