Allow fisher without args to read from stdin if not a tty. Close #224.

This commit is contained in:
Jorge Bucaran 2016-04-30 00:14:45 +09:00
parent c328543234
commit f3573b35fe
No known key found for this signature in database
GPG key ID: E54BA3C0E646DB30

View file

@ -167,6 +167,8 @@ function fisher
__fisher_usage > /dev/stderr
return
end
else
set cmd "install"
end
end
@ -329,7 +331,7 @@ function __fisher_install
" $__fisher_stderr
__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
return 1