1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-01-31 10:11:14 +00:00

Merge pull request #112 from nwinkler/eval-alias

Using eval for Bash alias
This commit is contained in:
Vladimir Iakovlev 2015-04-23 15:06:23 +02:00
commit ee2b208adf

View File

@ -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'
``` ```