nvbn/thefuck

Support `source ~/.bashrc` when installing

オープン

#972 opened on 2019/10/10

 (9 件のコメント) (1 件のリアクション) (0 人の担当者)Python (3,959 件のフォーク)batch import
enhancementhacktoberfesthelp wanted

Repository metrics

Stars
 (97,729 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド