mirror of
https://github.com/ksyasuda/rice.git
synced 2024-10-28 09:04:10 -07:00
Merge branch 'dev' of github.com:ksyasuda/SudacodeRice into dev
This commit is contained in:
commit
ce3a9491c2
13
scripts/rofi/rofissh.sh
Executable file
13
scripts/rofi/rofissh.sh
Executable 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}'
|
Loading…
Reference in New Issue
Block a user