summaryrefslogtreecommitdiff
path: root/config/essentials/shell/functions.sh
diff options
context:
space:
mode:
authorRaymaekers Luca <luca@spacehb.net>2025-05-14 05:38:36 +0200
committerRaymaekers Luca <luca@spacehb.net>2025-05-14 05:38:36 +0200
commit42ea52839a4d4b20efffc3267dc9d80b82bd3a81 (patch)
treeb30eb65e44721a2a469e2607eea43e869b541ed0 /config/essentials/shell/functions.sh
parentb7807277b529eeb228ab2d3217f32cd7ddf31775 (diff)
checkpoint
Diffstat (limited to 'config/essentials/shell/functions.sh')
-rw-r--r--config/essentials/shell/functions.sh31
1 files changed, 17 insertions, 14 deletions
diff --git a/config/essentials/shell/functions.sh b/config/essentials/shell/functions.sh
index 50ee0aa..7c8c777 100644
--- a/config/essentials/shell/functions.sh
+++ b/config/essentials/shell/functions.sh
@@ -366,20 +366,23 @@ edit_git_file () {
$EDITOR "$1"/"$f"
}
-# Wrapper to automatically add the key
-# could have been alias='SSH_ASKPASS=askpass SSH_ASKPASS_REQUIRE=prefer ssh'
-# but this option is very slow for some reason
-ssh() {
- for arg in $@; do
- if grep "Host $arg\s*\$" ~/.ssh/config > /dev/null 2>&1 ;
- then
- # Disable notification by unsetting the DISPLAY varibles
- keyadd "$arg" 2> /dev/null
- break
- fi
- done
- /usr/bin/ssh $@
-}
+if false
+then
+ # Wrapper to automatically add the key
+ # could have been alias='SSH_ASKPASS=askpass SSH_ASKPASS_REQUIRE=prefer ssh'
+ # but this option is very slow for some reason
+ ssh() {
+ for arg in $@; do
+ if grep "Host $arg\s*\$" ~/.ssh/config > /dev/null 2>&1 ;
+ then
+ # Disable notification by unsetting the DISPLAY varibles
+ keyadd "$arg" 2> /dev/null
+ break
+ fi
+ done
+ /usr/bin/ssh $@
+ }
+fi
ssl_req() {
[ "$1" ] || return 1