aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2018-12-02 14:12:28 -0500
committerMitch Riedstra <mitch@riedstra.us>2018-12-02 14:12:28 -0500
commite8ac2136c86a18183e8030d31876b3e3b9145ef9 (patch)
tree7879291ba91d66260dc5f29b9bf9da879ee471f1
parentf1b3e5db633690e7b5311270888bd91b61a7e7e7 (diff)
downloaddotfiles-e8ac2136c86a18183e8030d31876b3e3b9145ef9.tar.gz
dotfiles-e8ac2136c86a18183e8030d31876b3e3b9145ef9.tar.xz
Add alias to show SSH hosts and remove pullsshconfig
-rw-r--r--mkshrc5
1 files changed, 1 insertions, 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"