aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/travis.fish
diff options
context:
space:
mode:
authorGravatar Fabian Homborg <FHomborg@gmail.com>2015-08-17 12:29:03 +0200
committerGravatar Fabian Homborg <FHomborg@gmail.com>2015-08-17 12:29:03 +0200
commit5e555fc1cfca001e689dc2598d0395472d8c6f4a (patch)
tree49dc3cd4d58dc0a345d31a8c294b80a12fd3af02 /share/completions/travis.fish
parentcb5d36d89f497abd7394c0228f8defa150495a7b (diff)
Completions: Don't check $cmd[1]
This is already done by fish before calling the completion. It breaks completion with combiners (#2025) and also with wrappers. (This does not include git because that's better solved in #2145)
Diffstat (limited to 'share/completions/travis.fish')
-rw-r--r--share/completions/travis.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/completions/travis.fish b/share/completions/travis.fish
index d53cc019..2811d876 100644
--- a/share/completions/travis.fish
+++ b/share/completions/travis.fish
@@ -1,6 +1,6 @@
function __fish_travis_needs_command
set cmd (commandline -opc)
- if [ (count $cmd) -eq 1 -a $cmd[1] = 'travis' ]
+ if [ (count $cmd) -eq 1 ]
return 0
end
return 1