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

Updated Shell aliases (markdown)

Vladimir Iakovlev 2015-07-20 21:20:51 +03:00
parent aaa45fbaa0
commit ce2ea9d650

@ -2,14 +2,14 @@
Add this alias to `.bashrc` or `.bash_profile` (for OSX):
```bash
alias fuck='eval $(thefuck $(fc -ln -1)); history -r'
eval "$(thefuck-alias)"
```
# ZSH
Add this alias to `.zshrc`:
```bash
alias fuck='eval $(thefuck $(fc -ln -1 | tail -n 1)); fc -R'
eval "$(thefuck-alias)"
```
# Fish