nvbn/thefuck

Support `source ~/.bashrc` when installing

Open

#972 创建于 2019年10月10日

在 GitHub 查看
 (9 评论) (1 反应) (0 负责人)Python (3,949 fork)batch import
enhancementhacktoberfesthelp wanted

仓库指标

Star
 (96,953 star)
PR 合并指标
 (30 天内没有已合并 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.

贡献者指南