diff --git a/lib/src/installer/shell_completion_configuration.dart b/lib/src/installer/shell_completion_configuration.dart index ee19dca..4151c21 100644 --- a/lib/src/installer/shell_completion_configuration.dart +++ b/lib/src/installer/shell_completion_configuration.dart @@ -77,6 +77,9 @@ if type compdef &>/dev/null; then IFS=\$'\n' reply=(\$(COMP_CWORD="\$((CURRENT-1))" COMP_LINE="\$BUFFER" COMP_POINT="\$CURSOR" $rootCommand completion -- "\${words[@]}")) IFS=\$si + + zstyle ':completion:*' menu yes select + zstyle ':completion:*' list-colors '' if [[ -z "\$reply" ]]; then _path_files diff --git a/test/src/installer/shell_completion_configuration_test.dart b/test/src/installer/shell_completion_configuration_test.dart index 1e885aa..19b879e 100644 --- a/test/src/installer/shell_completion_configuration_test.dart +++ b/test/src/installer/shell_completion_configuration_test.dart @@ -35,6 +35,9 @@ if type compdef &>/dev/null; then IFS=\$'\n' reply=(\$(COMP_CWORD="\$((CURRENT-1))" COMP_LINE="\$BUFFER" COMP_POINT="\$CURSOR" very_good completion -- "\${words[@]}")) IFS=\$si + + zstyle ':completion:*' menu yes select + zstyle ':completion:*' list-colors '' if [[ -z "\$reply" ]]; then _path_files