From adfe8d681ded9f90fe3d0c5e58886a404544c8b3 Mon Sep 17 00:00:00 2001 From: Jason Nader Date: Thu, 27 Feb 2020 22:23:44 +0900 Subject: [PATCH] Ensure stdin is redirected to python --- share/completions/bower.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/completions/bower.fish b/share/completions/bower.fish index f9fa011da..b3d4743c9 100644 --- a/share/completions/bower.fish +++ b/share/completions/bower.fish @@ -53,7 +53,7 @@ function __bower_list_installed if set -l python (__fish_anypython) # Warning: That weird indentation is necessary, because python. $python -S -c 'import json, sys; data = json.load(sys.stdin); -for k,v in data["dependencies"].items(): print(k + "\t" + v[:18])' bower.json 2>/dev/null +for k,v in data["dependencies"].items(): print(k + "\t" + v[:18])' /dev/null return end