1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-19 16:56:17 +02: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
set cmd (commandline -opc)
if [ (count $cmd) -eq 1 -a $cmd[1] = 'osc' ]
if contains "$cmd" 'osc' 'osc help'
return 0
end
return 1