Skip to content

Commit

Permalink
fish shell completion: help arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
rominf committed Sep 5, 2014
1 parent c63a6ea commit 35372df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osc.fish
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

function __fish_osc_needs_command
set cmd (commandline -opc)
if [ (count $cmd) -eq 1 -a $cmd[1] = 'osc' ]
if contains "$cmd" 'osc' 'osc help'
return 0
end
return 1
Expand Down

0 comments on commit 35372df

Please sign in to comment.