zsh: move completion setopts from setopt.zsh into completion.zsh
This commit is contained in:
parent
09816d9035
commit
d900f34617
2 changed files with 16 additions and 14 deletions
|
|
@ -27,19 +27,6 @@ setopt pushd_minus
|
|||
# treat #, ~ and ^ as part of patterns for filename generation
|
||||
setopt extended_glob
|
||||
|
||||
# ===== completion
|
||||
# When completing from the middle of a word, move the cursor to the end of the word
|
||||
setopt always_to_end
|
||||
# show completion menu on successive tab press. needs unsetop menu_complete to work
|
||||
setopt auto_menu
|
||||
# any parameter that is set to the absolute name of a directory immediately becomes a name for that directory
|
||||
setopt auto_name_dirs
|
||||
# Allow completion from within a word/phrase
|
||||
setopt complete_in_word
|
||||
|
||||
# do not autoselect the first completion entry
|
||||
unsetopt menu_complete
|
||||
|
||||
# ===== correction
|
||||
# suggest a similar command name if the current one doesn't exist
|
||||
#setopt correct
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue