From e8ac2136c86a18183e8030d31876b3e3b9145ef9 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Sun, 2 Dec 2018 14:12:28 -0500 Subject: Add alias to show SSH hosts and remove pullsshconfig --- mkshrc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mkshrc b/mkshrc index 892fea2..28bfd56 100644 --- a/mkshrc +++ b/mkshrc @@ -138,6 +138,7 @@ setaliases() { alias search='egrep -rniI' alias rot13="tr 'A-Za-z' 'N-ZA-Mn-za-m'" alias setxkbmap-list="man xkeyboard-config" + alias showsshhosts="awk '/^host /{print $2}' ~/.ssh/config" } setcoloraliases() { @@ -378,10 +379,6 @@ pullkeys() { chmod 600 $auth_keys set +x } -pullsshconfig() { - file="ssh/config" - pull -u "${UPDATE_URL}${file}" -f "$HOME/.ssh/config" -} updatetmuxconf() { pulldotfile "tmux.conf" pulldotfile "tmux_helper.sh" -- cgit v1.2.3