nvbn/thefuck

Support `source ~/.bashrc` when installing

Aperta

#972 aperta il 10 ott 2019

 (9 commenti) (1 reazione) (0 assegnatari)Python (3960 fork)batch import
enhancementhacktoberfesthelp wanted

Metriche repository

Star
 (97.740 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

When you first install thefuck, you get this nice message.

$ fuck
Seems like fuck alias isn't configured!
Please put eval "$(thefuck --alias)" in your ~/.bashrc and apply changes with source ~/.bashrc or restart your shell.
Or run fuck second time for configuring it automatically.
More details - https://github.com/nvbn/thefuck#manual-installation

$ fuck
fuck alias configured successfully!
For applying changes run source ~/.bashrc or restart your shell.

Which is great and I love it, however, when I run fuck again, I get the same message.

$ fuck
fuck alias configured successfully!
For applying changes run source ~/.bashrc or restart your shell.

Seems like an oversight. It should suggest running source ~/.bashrc.

Guida contributor