Merge branch 'dev' of github.com:ksyasuda/SudacodeRice into dev

This commit is contained in:
ksyasuda 2021-11-01 19:26:32 -07:00
commit ce3a9491c2

13
scripts/rofi/rofissh.sh Executable file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env bash
HOSTS=(
"DEPOT02 - dc1lxsdepot02.westlakefinancial.com"
)
CHOICE=$(printf '%s\n' "${HOSTS[@]}" | rofi -dmenu -i -l 10)
echo $CHOICE
# print hostname
printf "%s\n" "${HOSTS[@]}" | awk '{print $NF}'