Thefuck: [Request Feature]fuck need reboot for thefuck

Created on 10 Sep 2020  Â·  7Comments  Â·  Source: nvbn/thefuck

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.30 using Python 3.8.5 and ZSH 5.7.1

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

macOS

How to reproduce the bug:

after just installed

> fuck
fuck alias configured successfully!
For applying changes run source ~/.zshrc or restart your shell.
> fuck
Seems like fuck alias already configured!
For applying changes run source ~/.zshrc or restart your shell.
....infinitely

Anything else you think is relevant:

just reboot
wontfix

All 7 comments

You can try running source ~/.zshrc without rebooting the system.

I mean, if I run 'fuck' comnand do that automatocally.

Did u restart the shell and run 'fuck' again,
exec zsh -l
As mentioned here
3rd comment for answer

i got an email from sysadm asking me why ive spammed fuck in the shell. im laughing so hard right now

Your sysadmin needs a better use of their time

i got an email from sysadm asking me why ive spammed fuck in the shell. im laughing so hard right now

I just found this project. The name is hilarious xD

I mean, if I run 'fuck' comnand do that automatocally.

Besides being a difficult problem to solve (as in interacting with the running shell from inside one of its subproccess) it is beyond the scope of the project — it's not meant to "solve itself".

On the other hand, that's super easy to solve in other ways (e.g. exec zsh)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shelbyKiraM picture shelbyKiraM  Â·  5Comments

griffinqiu picture griffinqiu  Â·  4Comments

agross picture agross  Â·  5Comments

caesar picture caesar  Â·  5Comments

AlexWayfer picture AlexWayfer  Â·  4Comments