diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/zsh/alias.zsh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index 3ac04fc..f090628 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -63,7 +63,8 @@ alias \ gjdo="$HOME/dev/perl/gitjoe-scripts/gitjoe-do.pl" \ ddgit='git --git-dir=$HOME/docs/redot --work-tree=$HOME' \ dgit='git --git-dir=$HOME/docs/dotfiles-bsd --work-tree=$HOME' \ - confgit='git --git-dir=$HOME/docs/conffiles-bsd --work-tree=/' + confgit='git --git-dir=$HOME/docs/conffiles-bsd --work-tree=/' \ + git-pull-all='git branch -r | sed "1d;s,\x1B\[[0-9;]*[a-zA-Z],,g" | while read remote; do git branch --track "${remote#origin/}" "$remote"; git checkout "${remote#origin/}"; git pull; done' bssh() { user='rbousset' host='bastion' |