_httpie: fix for -pH problem

This commit is contained in:
Vincent Breitmoser 2013-11-06 16:40:39 +01:00
parent dbd9c214fc
commit 512b6357e1
1 changed files with 3 additions and 0 deletions

View File

@ -102,6 +102,9 @@ _httpie_printflags () {
local ret=1 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]#)' compset -P '(#b)([a-zA-Z]#)'
local -a flags local -a flags