mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-18 12:06:04 +00:00
Added quoting to eval
parameters, fixes problems with filesnames containing spaces
This commit is contained in:
parent
6975d30818
commit
754cf26c8f
@ -26,7 +26,7 @@ class Zsh(Generic):
|
||||
export PYTHONIOENCODING=utf-8;
|
||||
TF_CMD=$(
|
||||
thefuck {argument_placeholder} $@
|
||||
) && eval $TF_CMD;
|
||||
) && eval "${{TF_CMD}}";
|
||||
unset TF_HISTORY;
|
||||
export PYTHONIOENCODING=$TF_PYTHONIOENCODING;
|
||||
{alter_history}
|
||||
|
Loading…
x
Reference in New Issue
Block a user