1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-01-18 12:06:04 +00:00

Using eval for Bash alias

This fixes #108.
This commit is contained in:
Nils Winkler 2015-04-23 11:26:19 +02:00
parent 0272e8a801
commit 380827d1d9

View File

@ -115,8 +115,8 @@ brew install thefuck
And add to `.bashrc` or `.zshrc` or `.bash_profile`(for OSX):
```bash
alias fuck='$(thefuck $(fc -ln -1))'
# You can use whatever you want as an alias, like for mondays:
alias fuck='eval $(thefuck $(fc -ln -1))'
# You can use whatever you want as an alias, like for Mondays:
alias FUCK='fuck'
```