Skip to content

Commit

Permalink
reload autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
gianluca-mascolo committed Jul 14, 2022
1 parent ca30d79 commit aeb316f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bash_profile_switcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aeb316f

Please sign in to comment.