summaryrefslogtreecommitdiffstats
path: root/.config/zsh
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2024-01-06 12:20:46 +0100
committerJoe <rbo@gmx.us>2024-01-06 12:20:46 +0100
commit21531260a4f0615284b46b91d970d65d91e4174b (patch)
treeff32beb8f56c7aed41e64184d76fd94a10a7aebb /.config/zsh
parentup (diff)
downloaddotfiles-bsd-21531260a4f0615284b46b91d970d65d91e4174b.tar.gz
dotfiles-bsd-21531260a4f0615284b46b91d970d65d91e4174b.tar.bz2
dotfiles-bsd-21531260a4f0615284b46b91d970d65d91e4174b.tar.xz
dotfiles-bsd-21531260a4f0615284b46b91d970d65d91e4174b.tar.zst
dotfiles-bsd-21531260a4f0615284b46b91d970d65d91e4174b.zip
up
Diffstat (limited to '.config/zsh')
-rw-r--r--.config/zsh/alias.zsh3
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'