added fish support for './rebar'

This commit is contained in:
Joe DeVivo 2014-08-25 11:20:09 -07:00
parent 519e1c8d16
commit 0a54123ff2

View file

@ -2,7 +2,7 @@
function __fish_rebar_needs_command function __fish_rebar_needs_command
set cmd (commandline -opc) set cmd (commandline -opc)
if [ (count $cmd) -eq 1 -a $cmd[1] = 'rebar' ] if [ (count $cmd) -eq 1 -a $cmd[1] = 'rebar' -o $cmd[1] = './rebar' ]
return 0 return 0
end end
return 1 return 1