diff options
author | Pablo Santiago Blum de Aguiar <scorphus@gmail.com> | 2017-05-17 13:08:47 -0300 |
---|---|---|
committer | Jakub Roztocil <jakub@roztocil.co> | 2017-12-13 21:22:53 +0100 |
commit | 46e24dd6b51d56ea71e4c201a79987a10f0a1660 (patch) | |
tree | 3eea1d2bce46a11209ffea59dd54ebd53e2e90b6 /extras | |
parent | 803127e8c99fd0a8b876f8670483dbea6830cda6 (diff) |
Use function as source of styles for Fish completion
Diffstat (limited to 'extras')
-rw-r--r-- | extras/httpie-completion.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/httpie-completion.fish b/extras/httpie-completion.fish index 2b9dc567..e515eef5 100644 --- a/extras/httpie-completion.fish +++ b/extras/httpie-completion.fish @@ -30,7 +30,7 @@ function __fish_httpie_styles echo "xcode" end -complete -x -c http -s s -l style -d 'Output coloring style (default is "monokai")' -A -a "autumn borland bw colorful default emacs friendly fruity igor manni monokai murphy native paraiso-dark paraiso-light pastie perldoc rrt solarized tango trac vim vs xcode" +complete -x -c http -s s -l style -d 'Output coloring style (default is "monokai")' -A -a '(__fish_httpie_styles)' complete -c http -s f -l form -d 'Data items from the command line are serialized as form fields' complete -c http -s j -l json -d '(default) Data items from the command line are serialized as a JSON object' complete -x -c http -l pretty -d 'Controls output processing' -a "all colors format none" -A |