Update 2024-01-21 12:06 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id
2024-01-21 12:06:39 +01:00
parent 69a3035e2d
commit eb43409983
10 changed files with 39 additions and 659 deletions

View File

@@ -4,7 +4,7 @@
CONF=$(cat $HOME/.ssh/config| grep -Ei "^host" | grep -v '*' | cut -d" " -f2)
HOSTS=$(cat $HOME/.ssh/known_hosts | cut -d" " -f1 | tr ',' '\n')
HOST=$(printf '%s\n%s' "$CONF" "$HOSTS" | grep -v '=' | sort -ru | $DMENU_CMD -p SSH)
HOST=$(printf '%s\n%s' "$CONF" "$HOSTS" | grep -v '=' | sort -ru | $DMENU_CMD -p SSH -l 20)
if [ ! -z "$HOST" ]; then
case "$HOST" in
*-sftp) texec "sftp $HOST"; ;;