mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-09 09:36:53 +02:00
Allow fisher without args to read from stdin if not a tty. Close #224.
This commit is contained in:
parent
c328543234
commit
f3573b35fe
1 changed files with 3 additions and 1 deletions
|
@ -167,6 +167,8 @@ function fisher
|
||||||
__fisher_usage > /dev/stderr
|
__fisher_usage > /dev/stderr
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
else
|
||||||
|
set cmd "install"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -329,7 +331,7 @@ function __fisher_install
|
||||||
" $__fisher_stderr
|
" $__fisher_stderr
|
||||||
|
|
||||||
__fisher_log info "
|
__fisher_log info "
|
||||||
Try using a namespace before the plugin name: @omf@/$fetched
|
Try using a namespace before the plugin name: @xxx@/$fetched
|
||||||
" $__fisher_stderr
|
" $__fisher_stderr
|
||||||
|
|
||||||
return 1
|
return 1
|
||||||
|
|
Loading…
Reference in a new issue