Delete shell/ssh topic

This commit is contained in:
Henrik Lissner 2017-12-18 01:13:05 -05:00
parent 293620d74c
commit ea32550057
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 0 additions and 33 deletions

View file

@ -1,24 +0,0 @@
#!/usr/bin/env zsh
source ${0:A:h}/../../deploy
install() {
# case $(_os) in
# macos) brew install weechat ;;
# arch) sudo pacman --needed --noconfirm -S weechat ;;
# debian) sudo apt-get install -y weechat ;; # NOTE untested
# esac
}
# update() {}
link() {
mkdir -p $XDG_CONFIG_HOME/ssh
if [[ -d ~/.ssh ]]; then
mv ~/.ssh/* $XDG_CONFIG_HOME/ssh/
rm -rf ~/.ssh
fi
}
# clean() {}
init "$@"

View file

@ -1,9 +0,0 @@
key="/keybase/private/$USER/id_rsa"
config="-o UserKnownHostsFile='$XDG_CONFIG_HOME/ssh/known_hosts' -o IdentityFile='$key'"
[[ -f $XDG_CONFIG_HOME/ssh/config ]] && config="$config -F'$XDG_CONFIG_HOME/ssh/config"
alias ssh="ssh $config "
alias scp="scp -o GlobalKnownHostsFile=/etc/hosts $config "
alias ssh-copy-id="ssh-copy-id -i $key"
alias ssha="ssh-add $key"