From f3573b35fe4df5b9aa2067bce45a7440690e7fe0 Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Sat, 30 Apr 2016 00:14:45 +0900 Subject: [PATCH] Allow fisher without args to read from stdin if not a tty. Close #224. --- fisher.fish | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fisher.fish b/fisher.fish index fd73111..9ee43eb 100644 --- a/fisher.fish +++ b/fisher.fish @@ -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