Renamed dotfiles folder to assets
This commit is contained in:
11
assets/.functions.zsh
Normal file
11
assets/.functions.zsh
Normal file
@@ -0,0 +1,11 @@
|
||||
awkuniq() {
|
||||
if [[ "$1" == "-c" ]]; then
|
||||
awk '{ !x[$0]++ } END { for (i in x) print x[i] "\t" i }'
|
||||
else
|
||||
awk '!x[$0]++'
|
||||
fi
|
||||
}
|
||||
|
||||
bw-ssh() {
|
||||
sshpass -p "$(rbw get "$1")" ssh ${@:2}
|
||||
}
|
||||
Reference in New Issue
Block a user