diff options
-rwxr-xr-x | ranger/data/scope.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh index 6a5332ac..f9e61de2 100755 --- a/ranger/data/scope.sh +++ b/ranger/data/scope.sh @@ -31,7 +31,7 @@ extension=${path##*.} # Functions: # runs a command and saves its output into $output. Useful if you need # the return value AND want to use the output in a pipe -try() { output=$(eval $@); } +try() { output=$(eval '"$@"'); } # writes the output of the previouosly used "try" command dump() { echo "$output"; } |