mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-31 02:01:13 +00:00
Updated Shell aliases (markdown)
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user