mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Ensure stdin is redirected to python
This commit is contained in:
parent
45b1ca25a5
commit
adfe8d681d
1 changed files with 1 additions and 1 deletions
|
@ -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])' <bower.json 2>/dev/null
|
||||
return
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue