diff --git a/bash_profile_switcher.sh b/bash_profile_switcher.sh index d34cdbe..fedca79 100644 --- a/bash_profile_switcher.sh +++ b/bash_profile_switcher.sh @@ -98,6 +98,7 @@ switch_profile () { l) SWITCH_PROFILE_LIST=$(_switch_profile_list) export SWITCH_PROFILE_LIST + [ -n "$SWITCH_PROFILE_LIST" ] && complete -o nospace -W "$SWITCH_PROFILE_LIST" switch_profile echo "Available profiles:" echo -e "${SWITCH_PROFILE_LIST// /\\n}" return 0