From f25f15fd69a93059107687fe9c767d3418e67557 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Tue, 2 Jun 2020 21:42:16 +0200 Subject: [PATCH] completions: Fix leftover "^" redirections --- share/completions/go.fish | 2 +- share/completions/mvn.fish | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/share/completions/go.fish b/share/completions/go.fish index cfafbb0fd..93a87ca65 100644 --- a/share/completions/go.fish +++ b/share/completions/go.fish @@ -27,7 +27,7 @@ complete -c go -n "__fish_seen_subcommand_from build compile fix fmt install run # Completions for go cmds that takes pkg arguments complete -c go -n "__fish_seen_subcommand_from build doc fix fmt install test vet" -x -a "( - go list -e -f '{{.ImportPath}} {{or .Doc \"Go package\"}}' (commandline -ct)... ^/dev/null + go list -e -f '{{.ImportPath}} {{or .Doc \"Go package\"}}' (commandline -ct)... 2>/dev/null )" --description Package diff --git a/share/completions/mvn.fish b/share/completions/mvn.fish index a12de4b3e..bc7852a4f 100644 --- a/share/completions/mvn.fish +++ b/share/completions/mvn.fish @@ -71,7 +71,7 @@ function __fish_mvn_profiles # find line opening the profile-tag # read next line # extract contents of id-tag - sed -n -e '//{n; s!^.*\([^<]*\).*$!\1!; p}' ~/.m2/settings.xml pom.xml ^/dev/null + sed -n -e '//{n; s!^.*\([^<]*\).*$!\1!; p}' ~/.m2/settings.xml pom.xml 2>/dev/null end complete -c mvn -f -r -o P -l activate-profiles -a "(__fish_mvn_profiles)" -d "Comma-delimited list of profiles to activate"