1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-02-22 12:58:33 +00:00

add instructions to use thefuck-alias

This commit is contained in:
SanketDG 2015-05-01 00:13:08 +05:30
parent 8a49b40f6a
commit 32fd929e48

View File

@ -110,6 +110,12 @@ alias fuck='eval $(thefuck $(fc -ln -1))'
alias FUCK='fuck' alias FUCK='fuck'
``` ```
Alternatively, you can redirect the output of `thefuck-alias`:
```bash
thefuck-alias >> ~/.bashrc
```
[Or in your shell config (Bash, Zsh, Fish, Powershell).](https://github.com/nvbn/thefuck/wiki/Shell-aliases) [Or in your shell config (Bash, Zsh, Fish, Powershell).](https://github.com/nvbn/thefuck/wiki/Shell-aliases)
Changes will be available only in a new shell session. Changes will be available only in a new shell session.