mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 19:19:54 +00:00
added fish support for './rebar'
This commit is contained in:
parent
519e1c8d16
commit
0a54123ff2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue