Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflicting documentation for correct syntax of alias #1400

Open
pallaswept opened this issue Sep 3, 2023 · 0 comments
Open

Conflicting documentation for correct syntax of alias #1400

pallaswept opened this issue Sep 3, 2023 · 0 comments

Comments

@pallaswept
Copy link

The output of thefuck --version (something like The Fuck 3.1 using Python 3.5.0 and Bash 4.4.12(1)-release):

The Fuck 3.32 using Python 3.11.4 and Bash 5.2.15(1)-release

Your system (Debian 7, ArchLinux, Windows, etc.):

openSUSE Tumbleweed

How to reproduce the bug:

Read the documentation. It says to use
eval $(thefuck --alias)
Now run the application (type fuck) without the alias present, and it will mention that the alias is missing, and it can be automatically added by typing fuck again
Do so. The entry is created:
eval "$(thefuck --alias)"
Note the quotes or lack thereof.

Anything else you think is relevant:

I have also seen issues where single quotes are used, ie:
eval '$(thefuck --alias)'

What is the correct syntax?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant