diff options
author | Ryan Kavanagh <ryanakca@kubuntu.org> | 2011-08-18 20:04:20 -0400 |
---|---|---|
committer | Ryan Kavanagh <ryanakca@kubuntu.org> | 2011-08-25 07:43:09 -0400 |
commit | 12f9fa66dc34a5e422f5a7109008d27365ea5a2a (patch) | |
tree | 2e72a75792f803421674c3f1aee2478dabccbd31 /.zshrc | |
parent | sha256sums (diff) |
Merged in lambda's .zshrc
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 20 |
1 files changed, 17 insertions, 3 deletions
@@ -157,15 +157,15 @@ export WORDCHARS='*?_-[]~=&;!#$%^(){}' zmodload -i zsh/complist # Should dircolors exist. Fetch LS_COLORS from it. -if [ `which dircolors` ]; then +if [ "`which dircolors`" != 'dircolors not found' ]; then eval "$(dircolors -b)" fi zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" zstyle ':completion:*:*:kill:*' list-colors '=%*=01;31' -alias ls="ls --classify --color=always" # Add all colours and have fancy - # symbols for files, etc. +alias ls="SUBSTS_LS --classify --color=always" # Add all colours and + # have fancy symbols for files, etc. alias grep="grep --colour=always" # Colour grep too. # Load the completion system autoload -U compinit; compinit @@ -560,6 +560,20 @@ noproxy() { unset http_proxy } +gbp-snap() { + if [[ -e $@ ]]; then + git-dch -aSN $1 + else + git-dch -aS + fi + gpg-mounter + gibuild --git-ignore-new + DSC=`head -n1 debian/changelog | sed -e 's/\(.*\) (\(.*\)).*/\1_\2.dsc/g'` + DIST=`head -n1 debian/changelog | sed -e 's/.* \(.*\);.*/\1/g'` + cd .. + sbuild -d $DIST $DSC +} + # Pretty menu! zstyle ':completion:*' menu select=1 zstyle ':completion:*' select-prompt %SScroll active at %p%s. |