summaryrefslogtreecommitdiffstats
path: root/rofi-hosts
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2020-01-02 18:15:15 +0100
committerFlorian Pritz <bluewind@xinu.at>2020-01-02 18:20:04 +0100
commitd59a2a3d6cd9a7449e654cf6fbee9a14a44619e9 (patch)
treee8ef79ef5c25b2316d6e010b2beffa94923efd17 /rofi-hosts
parent3e6596cd66f05eb45d9692621b3a8331606df92b (diff)
downloadbin-d59a2a3d6cd9a7449e654cf6fbee9a14a44619e9.tar.gz
bin-d59a2a3d6cd9a7449e654cf6fbee9a14a44619e9.tar.xz
rofi-hosts: Hardcode known_hosts_work path instead of using glob
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'rofi-hosts')
-rwxr-xr-xrofi-hosts2
1 files changed, 1 insertions, 1 deletions
diff --git a/rofi-hosts b/rofi-hosts
index fb42bdc..92031a2 100755
--- a/rofi-hosts
+++ b/rofi-hosts
@@ -22,7 +22,7 @@ set -euo pipefail
# along with this program. If not, see <http: #www.gnu.org/licenses/
#
-input=$(cut -d\ -f1 .ssh/known_hosts* | tr , "\n" \
+input=$(cut -d\ -f1 .ssh/known_hosts .ssh/known_hosts_work | tr , "\n" \
| sed -r 's#(_ecdsa|_rsa|_ed25519|_dsa)$##' | sort -u \
| rofi -lines 20 -dmenu -p "host")