I was experimenting with custom git subcommand completion: I am trying to extend the completion for git commit -m or git commit --message. $HOME/.zs ...
I was experimenting with custom git subcommand completion: I am trying to extend the completion for git commit -m or git commit --message. $HOME/.zs ...
When I use a terminal or zsh I can't run commands, And this is what appears: # /dev/fd/14:18: command not found: compdef # Does anyone know how ...
. Answers to this question are eligible for a +500 reputation bounty. S ...
I recently switched from bash to zsh and I am trying to figure out how to change the double tab autocomplete behavior. I'd like it to autocomplete onl ...
I build a huge zsh completion file for my program using clap_complete. To activate it, I added in my ~/.zshrc the lines: However, the compinit line ...
I have a function mycmd to launch a program that I wrote. The program needs the first argument to be foo, ssh or ls. The second argument depends on th ...
compdef cmd1=service can be used to define a completion alias, however, that works only when the arguments are going to be the same. For example, con ...
for example, when i start terminal and type brew install spot and press TAB - nothing, only dir like a Desktop/, but when i exec zsh everything magic ...
On MacOS Big Sur 11.3, here is my .zshrc. I would like to get the newest files or directories near to the prompt (sorted from the most recent up to th ...
I'm using zsh and oh my zsh, and I'm a bit confused about where to put completion files. For example, when installing kind, I'm doing this: And I ...
In zsh-autosuggestions the TAB key accepts the suggestion but then also tries providing more suggestions, which is a difference in behaviour from fish ...
When I want to traverse between directories, zsh is throwing a screenfull of tab completions. It's making the experience very bad. How can I get only ...
I am using VSCode integrated terminal together with zsh and zsh-autosuggestions. Everything is working as expected except for autosuggest-execute comm ...
I'm new to zsh and I'm trying to figure out how to get tab completion to work so that when I typed part of the name of a file that's not in the curren ...
I installed kubectl and tried enable shell autocompletion for zsh. When I'm using kubectl autocompletion works fine. Howewer when I'm trying use autoc ...
I have a program, let's call it myprog which takes a few options (-o, --option...) with or without argument. Is there a way to configure zsh so when I ...
On MacOS Big Sur 11.3, here is my .zshrc. I would like to get the latest modified or create files and directories near to the prompt (sorted from the ...
I'd like to write a zsh-completion script, which completes with files in a directory different from the current working directory. (I can archieve ...
I've wrote a simple bash completion script to complete ssh servernames from a list, eg: the $opts list is sth like: Bash completion is working a ...
In my completion function, I'd like to add an option which possible arguments depend on which files are on the system. I have no troubles getting that ...