1
0
mirror of https://github.com/nvbn/thefuck.git synced 2024-10-05 18:31:10 +01:00

Added quoting to eval parameters, fixes problems with filesnames containing spaces

This commit is contained in:
Peter Appleton 2020-05-13 22:01:41 +01:00
parent 6975d30818
commit 754cf26c8f

View File

@ -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}