mirror of
https://github.com/nvbn/thefuck.git
synced 2025-04-14 14:50:51 +01:00
parent
0272e8a801
commit
380827d1d9
@ -115,8 +115,8 @@ brew install thefuck
|
|||||||
And add to `.bashrc` or `.zshrc` or `.bash_profile`(for OSX):
|
And add to `.bashrc` or `.zshrc` or `.bash_profile`(for OSX):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
alias fuck='$(thefuck $(fc -ln -1))'
|
alias fuck='eval $(thefuck $(fc -ln -1))'
|
||||||
# You can use whatever you want as an alias, like for mondays:
|
# You can use whatever you want as an alias, like for Mondays:
|
||||||
alias FUCK='fuck'
|
alias FUCK='fuck'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user