From ea325500572df579f9e1137728360e551961c77a Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 18 Dec 2017 01:13:05 -0500 Subject: [PATCH] Delete shell/ssh topic --- shell/ssh/_init | 24 ------------------------ shell/ssh/aliases.zsh | 9 --------- 2 files changed, 33 deletions(-) delete mode 100755 shell/ssh/_init delete mode 100644 shell/ssh/aliases.zsh 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"