在 .bash_profile or .bashrc 裡加上這行
complete -W "$(echo $(grep '^ssh ' .bash_history | sort -u | sed 's/^ssh //'))" ssh
本文為RSS來源網站所提供之部分內容,請前往原文網頁完整閱讀
在 .bash_profile or .bashrc 裡加上這行
complete -W "$(echo $(grep '^ssh ' .bash_history | sort -u | sed 's/^ssh //'))" ssh
No comments:
Post a Comment