Skip to content

Commit

Permalink
skip autocomplete installation on fish, Fixes #393
Browse files Browse the repository at this point in the history
  • Loading branch information
schollz committed May 10, 2021
1 parent 340bafb commit 66f30c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/install/default.txt
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,7 @@ main() {
autocomplete_install_rcode="${?}";
print_message "== You will need to add the following to your ~/.zshrc to enable autocompletion" "info";
print_message "\nPROG=croc\n_CLI_ZSH_AUTOCOMPLETE_HACK=1\nsource /etc/zsh/zsh_autocomplete_croc\n" "info";;
*) autocomplete_install_rcode="1";;
esac

if [[ "${autocomplete_install_rcode}" == "0" ]] ; then
Expand Down

0 comments on commit 66f30c0

Please sign in to comment.