This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# gets user name and password from bitwarden | |
# keeps a list of all conenctions, and presents them in peco so easy filtering | |
export BW_SESSION="***************************" | |
sss() { | |
cat .connections | sort | uniq > .connections_ && mv .connections_ .connections | |
IFS=$'\n' array=($(cat .connections | peco --print-query)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sss() { | |
cat ~/.connections | sort | uniq > ~/.connections_ && mv ~/.connections_ ~/.connections | |
IFS=$'\n' array=($(cat ~/.connections | cut -d" " -f1 | peco --print-query)) | |
r1=${array[1]} | |
r2=${array[2]} | |
addr="" |
OlderNewer