projects
/
dotfiles.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e4ef94
)
Excess whitespace
author
Sergey Matveev <stargrave@stargrave.org>
Sat, 12 Jun 2021 08:18:48 +0000 (11:18 +0300)
committer
Sergey Matveev <stargrave@stargrave.org>
Sat, 12 Jun 2021 08:18:48 +0000 (11:18 +0300)
zsh/.zshrc
patch
|
blob
|
history
diff --git
a/zsh/.zshrc
b/zsh/.zshrc
index 62390a09565ba4a13fd200cba7b02eb36f3e9319..45fd16407ce1bec84e3391034cfad38c4429f64f 100644
(file)
--- a/
zsh/.zshrc
+++ b/
zsh/.zshrc
@@
-173,7
+173,7
@@
zstyle ":completion:*:functions" ignored-patterns "_*"
zstyle ":completion:*" matcher-list "" 'm:{a-z\-}={A-Z\_}' 'r:|?=** m:{a-z\-}={A-Z\_}'
_mycomp () {
[[ ${words[1]} != man ]] || { _man && return 0 }
- [[ $CURRENT -eq 1 ]] && _command_names ||
_files && return 0
+ [[ $CURRENT -eq 1 ]] && _command_names || _files && return 0
# MAGIC_EQUAL_SUBST {{{
[[ $PREFIX = *\=* ]] || return 1
compstate[parameter]=${PREFIX%%\=*}