# Plugin to make life of system administrators easier # Author: Nilesh (http://nileshgr.com) # # How to use this plugin # # plugins=(... ssh ...) # ################# Plugin configuration ################# # # Add in your zshrc before sourcing oh-my-zsh.zsh -- # # typeset -A ssh_hosts # ssh_hosts=('nickname' 'user@host1' \ # 'nickname1' 'host2' \ # 'nickname3' 'user2@host1' \ # ) # ################## End configuration ################### # # Once you've done that, reload your zshrc and try # ssh # It should give you the list of nicknames you specified (which can be selected by tabs) # # If you want to pass custom options to the ssh command, you can either # add them in the map as '-v user@host1' # or call the function as # ssh nickname