Open nvbn opened 6 years ago
When, for example, bash run on top of zsh, $SHELL will be zsh and thefuck will generate wrong alias.
$SHELL
We use $SHELL for performance reason, so for fixing this we need to:
thefuck --alias
$TF_SHELL
fuck
Related issues: #717 #731 #735
Was going to report that I'm getting an Unexpected End of File when starting bash from zsh but this ended up being the cause of the issue. eval $(SHELL=bash thefuck--alias) worked.
eval $(SHELL=bash thefuck--alias)
When, for example, bash run on top of zsh,
$SHELL
will be zsh and thefuck will generate wrong alias.We use
$SHELL
for performance reason, so for fixing this we need to:thefuck --alias
;$TF_SHELL
;$TF_SHELL
infuck
.Related issues: #717 #731 #735