mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-07 13:41:21 +00:00
Updated Shell aliases (markdown)
parent
aaa45fbaa0
commit
ce2ea9d650
@ -2,14 +2,14 @@
|
|||||||
|
|
||||||
Add this alias to `.bashrc` or `.bash_profile` (for OSX):
|
Add this alias to `.bashrc` or `.bash_profile` (for OSX):
|
||||||
```bash
|
```bash
|
||||||
alias fuck='eval $(thefuck $(fc -ln -1)); history -r'
|
eval "$(thefuck-alias)"
|
||||||
```
|
```
|
||||||
|
|
||||||
# ZSH
|
# ZSH
|
||||||
|
|
||||||
Add this alias to `.zshrc`:
|
Add this alias to `.zshrc`:
|
||||||
```bash
|
```bash
|
||||||
alias fuck='eval $(thefuck $(fc -ln -1 | tail -n 1)); fc -R'
|
eval "$(thefuck-alias)"
|
||||||
```
|
```
|
||||||
|
|
||||||
# Fish
|
# Fish
|
||||||
|
Loading…
x
Reference in New Issue
Block a user