X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.profile.d%2Fcompletion.bashrc;h=8ff324d9192081e0d3800e4c85524b970a316b46;hb=9da18ed22b25eaffe868fd6e68a60035bcdf3063;hp=3c3ec3325cfcb82a15bbf49dd0a18cd8092d8032;hpb=0614eba6741fe0b5f1ef54ad7478fe003ca0e613;p=profile.git diff --git a/.profile.d/completion.bashrc b/.profile.d/completion.bashrc index 3c3ec33..8ff324d 100644 --- a/.profile.d/completion.bashrc +++ b/.profile.d/completion.bashrc @@ -2,9 +2,9 @@ if ! builtin complete 2>&1 | grep 'not a shell builtin' >/dev/null; then # Helper! -COMPLETION_DIR_SSH=~/.ssh/hosts -COMPLETION_DIR_TELNET=~/.telnet/hosts -COMPLETION_DIR_RDP=~/.rdp/hosts +COMPLETION_DIR_SSH=${PROFILE_HOME:-~}/.ssh/hosts +COMPLETION_DIR_TELNET=${PROFILE_HOME:-~}/.telnet/hosts +COMPLETION_DIR_RDP=${PROFILE_HOME:-~}/.rdp/hosts COMPLETION_DIR_PING="$COMPLETION_DIR_SSH $COMPLETION_DIR_TELNET $COMPLETION_DIR_RDP" function _generic_completion() {