From 512b6357e12c4891a05d22372984696b1f0718cc Mon Sep 17 00:00:00 2001 From: Vincent Breitmoser Date: Wed, 6 Nov 2013 16:40:39 +0100 Subject: [PATCH] _httpie: fix for -pH problem --- src/_httpie | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/_httpie b/src/_httpie index 9eb49f0..dce6100 100644 --- a/src/_httpie +++ b/src/_httpie @@ -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