在 .bash_profile or .bashrc 裡加上這行complete -W "$(echo $(grep '^ssh ' .bash_history | sort -u | sed 's/^ssh //'))" ssh
No comments:
Post a Comment