From 60c0561a1ab38b27c85fa73220a04d6dce36ca93 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Wed, 17 Mar 2021 22:53:59 -0400 Subject: add sshchoose script --- .local/bin/sshchoose | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 .local/bin/sshchoose (limited to '.local/bin/sshchoose') 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)" + -- cgit v1.2.3