X-Git-Url: http://105106.c2e0p.group/dotfiles.git/blobdiff_plain/eaa23ff9f75b7242773ccc3214fa3aea21730d8c..25bfdff2cb6ecc3c4a695fd032bb1e5f6c4c65ff:/.bash_login diff --git a/.bash_login b/.bash_login index 511d498..96b42af 100644 --- a/.bash_login +++ b/.bash_login @@ -10,15 +10,6 @@ function short_pwd() } export PS1='$( if [ $? = 0 ]; then echo \[\e[32m\]:-\)\ ; else echo \[\e[31m\]:-\(\ ;fi;)\[\e[0m\]\u@\h:$(short_pwd)> ' -ssh-forget() { -sed -i .bak "/^$1,/d" ~/.ssh/known_hosts -} - -ssh-learn() { -sed -i .bak "/^$1,/d" ~/.ssh/known_hosts -ssh-keyscan -t rsa $1 >> ~/.ssh/known_hosts -} - export PATH=~/bin:$PATH export MANPATH=~/man:$MANPATH