mirror of
https://github.com/nvbn/thefuck.git
synced 2025-04-19 17:20:39 +01: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;
|
export PYTHONIOENCODING=utf-8;
|
||||||
TF_CMD=$(
|
TF_CMD=$(
|
||||||
thefuck {argument_placeholder} $@
|
thefuck {argument_placeholder} $@
|
||||||
) && eval $TF_CMD;
|
) && eval "${{TF_CMD}}";
|
||||||
unset TF_HISTORY;
|
unset TF_HISTORY;
|
||||||
export PYTHONIOENCODING=$TF_PYTHONIOENCODING;
|
export PYTHONIOENCODING=$TF_PYTHONIOENCODING;
|
||||||
{alter_history}
|
{alter_history}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user