mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
completions: Fix leftover "^" redirections
This commit is contained in:
parent
1af1e7b69b
commit
f25f15fd69
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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 '/<profile>/{n; s!^.*<id>\([^<]*\)</id>.*$!\1!; p}' ~/.m2/settings.xml pom.xml ^/dev/null
|
||||
sed -n -e '/<profile>/{n; s!^.*<id>\([^<]*\)</id>.*$!\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"
|
||||
|
|
Loading…
Reference in a new issue