summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2022-10-13 18:48:37 +0200
committerJoe <rrbo@proton.me>2022-10-13 18:48:37 +0200
commitaa32fd08ecec2e3eec071e5e475cb4def4ff2a9b (patch)
treedc9d6621e915e89d9ca8b6ef86fec43bc9dea0db /.config
parentperfect (diff)
downloaddotfiles-bsd-aa32fd08ecec2e3eec071e5e475cb4def4ff2a9b.tar.gz
dotfiles-bsd-aa32fd08ecec2e3eec071e5e475cb4def4ff2a9b.tar.bz2
dotfiles-bsd-aa32fd08ecec2e3eec071e5e475cb4def4ff2a9b.tar.xz
dotfiles-bsd-aa32fd08ecec2e3eec071e5e475cb4def4ff2a9b.tar.zst
dotfiles-bsd-aa32fd08ecec2e3eec071e5e475cb4def4ff2a9b.zip
cool
Diffstat (limited to '.config')
-rw-r--r--.config/zsh/alias.zsh8
1 files changed, 5 insertions, 3 deletions
diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh
index c3839ca..a180727 100644
--- a/.config/zsh/alias.zsh
+++ b/.config/zsh/alias.zsh
@@ -63,16 +63,18 @@ alias \
dgit='git --git-dir=$HOME/docs/dotfiles-bsd --work-tree=$HOME' \
confgit='git --git-dir=$HOME/docs/conffiles-bsd --work-tree=/'
bssh() {
+ user='rbousset'
+ host='bastion'
if [ "$1" != "--osh" ]; then
tmp="$1"
shift 1
if ! grep -F '@' <<< "$tmp" >/dev/null 2>&1; then
- ssh rbousset@bastion -t -- root@"$tmp" $*
+ ssh $user@$host -t -- root@"$tmp" $*
else
- ssh rbousset@bastion -t -- "$tmp" $*
+ ssh $user@$host -t -- "$tmp" $*
fi
else
- ssh rbousset@bastion -t -- $*
+ ssh $user@$host -t -- $*
fi
}
upsrc() {