Permalink
Browse files

aliases: bugfix on ssh-list

  • Loading branch information...
1 parent 6bb2cd0 commit f54af1d376098a0fb6622d8727e170b82d4f0da0 @tinogomes committed Nov 16, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/aliases.zsh
View
@@ -36,6 +36,6 @@ alias psg='show_processes'
# So, uncomment below line.
# alias .='pwd'
-alias ssh-list='cat ~/.ssh/config'
-alias lhosts='cat /etc/hosts'
-alias ghosts='cat /etc/hosts | grep'
+alias cat-ssh-config='[ -e ~/.ssh/config ] && cat ~/.ssh/config'
+alias cat-hosts='cat /etc/hosts'
+alias grep-hosts='cat /etc/hosts | grep'

0 comments on commit f54af1d

Please sign in to comment.