1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-09 22:36:14 +01:00

fish shell completion: help arguments

This commit is contained in:
Roman Inflianskas 2014-09-05 19:59:18 +04:00
parent c63a6ea37c
commit 35372df0f5

View File

@ -3,7 +3,7 @@
function __fish_osc_needs_command function __fish_osc_needs_command
set cmd (commandline -opc) set cmd (commandline -opc)
if [ (count $cmd) -eq 1 -a $cmd[1] = 'osc' ] if contains "$cmd" 'osc' 'osc help'
return 0 return 0
end end
return 1 return 1