[bash] Let my saltstack jumpers directly enter the correct directory

This commit is contained in:
Sebastian Schulze 2023-08-15 10:31:18 +02:00
parent 9865e5a128
commit 7fb9533f6b
No known key found for this signature in database
GPG Key ID: F6BA63C6A7D3044E
1 changed files with 2 additions and 2 deletions

View File

@ -44,8 +44,8 @@ bind '"\eggs" "git status"'
bind '"\egpa" "for remote in $(git remote); git push ${remote}; end"'
# SSH Quick Jump
bind '"\egss" "./ssh -e staging **"'
bind '"\egsp" "./ssh -e production **"'
bind '"\egsss" "cd $(zoxide query bootstrap/saltstack);\n./ssh -e staging **\t"'
bind '"\egssp" "cd $(zoxide query bootstrap/saltstack);\n./ssh -e production **\t"'
# k9s is such a handy tool
bind '"\e9" "k9s\n"'