diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2021-03-17 22:53:59 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2021-03-17 22:53:59 -0400 |
commit | 60c0561a1ab38b27c85fa73220a04d6dce36ca93 (patch) | |
tree | dcf43e689eb22f4476f6596440f6ec7f43c63a07 | |
parent | 55f53d6de291f21d67506118e9b3fd1ddfe28589 (diff) |
add sshchoose script
-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)" + |