diff options
Diffstat (limited to '.local/bin/sshchoose')
-rwxr-xr-x | .local/bin/sshchoose | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.local/bin/sshchoose b/.local/bin/sshchoose new file mode 100755 index 0000000..6b884c6 --- /dev/null +++ b/.local/bin/sshchoose @@ -0,0 +1,6 @@ +#!/bin/sh + +choice="$(pass ls ssh/ | sed '1d;s/^.*\s//g' | fzf)" + +ssh "$(pass ssh/$choice)" + |