mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-12-06 16:08:42 +08:00
_httpie: fix for -pH problem
This commit is contained in:
1 parent
dbd9c214fc
commit
512b6357e1
1 file changed
+3
@@ -102,6 +102,9 @@ _httpie_printflags () {
|
||||
|
||||
local ret=1
|
||||
|
||||
# not sure why this is necessary, but it will complete "-pH" style without it
|
||||
[[ $IPREFIX == "-p" ]] && IPREFIX+=" "
|
||||
|
||||
compset -P '(#b)([a-zA-Z]#)'
|
||||
|
||||
local -a flags
|
||||
|
||||
Reference in new issue
Block a user