mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-07 05:31:18 +00:00
changed thefuck-alias
to thefuck --alias
(cause first one is deprecated)
parent
aa24fb6704
commit
70b7fc7fbc
@ -2,14 +2,14 @@
|
||||
|
||||
Add this alias to `.bashrc` or `.bash_profile` (for OSX):
|
||||
```bash
|
||||
eval "$(thefuck-alias)"
|
||||
eval "$(thefuck --alias)"
|
||||
```
|
||||
|
||||
# ZSH
|
||||
|
||||
Add this alias to `.zshrc`:
|
||||
```bash
|
||||
eval "$(thefuck-alias)"
|
||||
eval "$(thefuck --alias)"
|
||||
```
|
||||
|
||||
# Fish
|
||||
@ -31,12 +31,12 @@ end
|
||||
|
||||
Alternatively, you can redirect the output of `thefuck-alias`:
|
||||
```bash
|
||||
~> thefuck-alias >> ~/.config/fish/config.fish
|
||||
~> thefuck --alias >> ~/.config/fish/config.fish
|
||||
```
|
||||
|
||||
Or, yet, you can create a function:
|
||||
```bash
|
||||
~> thefuck-alias > ~/.config/fish/functions/fuck.fish
|
||||
~> thefuck --alias > ~/.config/fish/functions/fuck.fish
|
||||
```
|
||||
|
||||
# Powershell
|
||||
|
Loading…
x
Reference in New Issue
Block a user