diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-06-22 16:23:07 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-06-22 16:23:07 +0200 |
commit | d466dcc80e77463fa035fc85ced0c253e38cbac2 (patch) | |
tree | df8e20418fc6529e9639b0f38a205adfded16072 /config/essentials/shell/functions.sh | |
parent | 10e12bbe481af7974739060f51210f7948fc1df9 (diff) | |
parent | fcc378109f2c9d3f80a6213646d7c170dd93100d (diff) |
Merge branch 'main' of debuc.com:dotfiles
Diffstat (limited to 'config/essentials/shell/functions.sh')
-rw-r--r-- | config/essentials/shell/functions.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/config/essentials/shell/functions.sh b/config/essentials/shell/functions.sh index 1b69fbd..27eb33e 100644 --- a/config/essentials/shell/functions.sh +++ b/config/essentials/shell/functions.sh @@ -364,17 +364,3 @@ ffconcat () { ffmpeg -y -f concat -safe 0 -i $tmp -c copy "$1" rm $tmp } - -# wrap ssh and add key if exists -ssh() { - if [ "$#" -gt 1 ] - then - /usr/bin/ssh $@ - return - fi - - grep -E "Host\s+$1" $HOME/.ssh/config > /dev/null 2>&1 && - keyadd "$1" > /dev/null 2>&1 - /usr/bin/ssh "$1" -} - |