Ask Your Question
0

What is the ZSH equivalent of Bash's completion for commands preceded by an underscore?

asked 2023-06-26 21:26:40 +0000

david gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-06-26 21:30:02 +0000

woof gravatar image

In ZSH, the equivalent of Bash's completion for commands preceded by an underscore is the underscore-insert-completions option. This can be enabled by adding the following line to your .zshrc file:

zstyle ':completion:*' insert-unambiguous true

This will enable completion for commands preceded by an underscore.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-26 21:26:40 +0000

Seen: 11 times

Last updated: Jun 26 '23