diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2015-10-26 16:07:34 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2015-10-26 16:07:34 +0100 |
| commit | a3ec70bd98dc274058c71ae843a811be0ea6cb9c (patch) | |
| tree | 105cb2f4bf8701a9dbca8854c10d44d55675a8eb /config/fish/functions | |
| parent | 61cbf3fbc8b902d33a17dffec2e6d83b47e33f5e (diff) | |
| download | dotfiles-a3ec70bd98dc274058c71ae843a811be0ea6cb9c.tar.gz dotfiles-a3ec70bd98dc274058c71ae843a811be0ea6cb9c.zip | |
fix quoting bug in pss function
Diffstat (limited to 'config/fish/functions')
| -rw-r--r-- | config/fish/functions/pss.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/fish/functions/pss.fish b/config/fish/functions/pss.fish index f8832c5..f90563f 100644 --- a/config/fish/functions/pss.fish +++ b/config/fish/functions/pss.fish @@ -3,7 +3,7 @@ function pss echo "usage: pss PATTERN" else set pids (pgrep -d , -f $argv[1]) - if test -n $pids + if test -n "$pids" echo -ne "\033[1;32m" ps -Fp $pids echo -ne "\033[1;0m" |
