User Tools

Site Tools


docs:tips_n_tricks:zsh.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
docs:tips_n_tricks:zsh.html [04.07.2018 13:35 CEST] peterdocs:tips_n_tricks:zsh.html [19.02.2023 22:08 CET] peter
Line 8: Line 8:
 setopt promptsubst setopt promptsubst
 </code> </code>
 +===== Disable autocompletion =====
 +
 +Incorrect command specific autocompletion can be annoying - e.g. if for the ''cvs'' command only files and directories are considered, which are already under //cvs// control - but this is applied to ''cvs add'' as well.
 +
 +A simple fix is to reset autocompletion for arguments of a specific command to its default to take all files into account. On modern (as of 2023) Debian-oid Linux sytems, this can be done by
 +
 +  compdef _files cvs
 +
 +__Credits:__
 +  * [[https://unix.stackexchange.com/a/677295|This Answer to 'Disable zsh "smart" autocompletion for gem command, but keep ordinary path completion' on stackexchange]]
 ======  ====== ======  ======
 {{entry>Linux}} {{entry>Linux}}
docs/tips_n_tricks/zsh.html.txt · Last modified: 30.03.2024 01:34 CET by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki