diff --git a/shell/ssh/_init b/shell/ssh/_init deleted file mode 100755 index 0c067a26..00000000 --- a/shell/ssh/_init +++ /dev/null @@ -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 "$@" diff --git a/shell/ssh/aliases.zsh b/shell/ssh/aliases.zsh deleted file mode 100644 index d0c934e6..00000000 --- a/shell/ssh/aliases.zsh +++ /dev/null @@ -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"