Skip to content

Commit 0b023e1

Browse files
committed
feat: enhance Zsh completion with menu selection
1 parent a5fd323 commit 0b023e1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/src/installer/shell_completion_configuration.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ if type compdef &>/dev/null; then
7878
IFS=\$'\n' reply=(\$(COMP_CWORD="\$((CURRENT-1))" COMP_LINE="\$BUFFER" COMP_POINT="\$CURSOR" $rootCommand completion -- "\${words[@]}"))
7979
IFS=\$si
8080
81+
zstyle ':completion:*' menu yes select
82+
zstyle ':completion:*' list-colors ''
83+
8184
if [[ -z "\$reply" ]]; then
8285
_path_files
8386
else

0 commit comments

Comments
 (0)