From b8e0932338a496dbf3de9b4a9123f5a4a3ff3900 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 14 May 2008 21:21:44 +0100 Subject: [PATCH 1/1] remove ssh stuff (goes to ssh repo) --- .zsh/zshrc/20_compsys | 5 ----- .zsh/zshrc/30_aliases | 5 ----- 2 files changed, 10 deletions(-) diff --git a/.zsh/zshrc/20_compsys b/.zsh/zshrc/20_compsys index 9e5301c..3ccf1d4 100644 --- a/.zsh/zshrc/20_compsys +++ b/.zsh/zshrc/20_compsys @@ -47,11 +47,6 @@ zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} zstyle ':completion:*:(all-|)files' ignored-patterns \ '*.bk' '*.bak' '*.old' '*~' '.*.sw?' -# populate hosts completion with SSH's known_hosts -local _myhosts -_myhosts=(${${${${(f)"$(<$HOME/.ssh/known_hosts)"}:#[0-9]*}%%\ *}%%,*}) -zstyle ':completion:*' hosts $_myhosts - zstyle -e ':completion:*:approximate:*' max-errors 'reply=($((($#PREFIX+$#SUFFIX)/3)) numeric )' #zstyle ':completion:*' list-suffixes true diff --git a/.zsh/zshrc/30_aliases b/.zsh/zshrc/30_aliases index 6cb0f9d..9df703a 100644 --- a/.zsh/zshrc/30_aliases +++ b/.zsh/zshrc/30_aliases @@ -93,11 +93,6 @@ alias h2d='baseconv 16 10' alias d2o='baseconv 10 8' alias o2d='baseconv 8 10' -alias sshnew='ssh -o "StrictHostKeyChecking no"' -alias scpnew='scp -o "StrictHostKeyChecking no"' -alias sshtmp='sshnew -o "UserKnownHostsFile /dev/null"' -alias scptmp='scpnew -o "UserKnownHostsFile /dev/null"' - alias sendmail=/usr/sbin/sendmail _d() { dict $* } -- 2.39.5