mirror of
https://github.com/nvbn/thefuck.git
synced 2025-02-07 13:41:21 +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):
|
Add this alias to `.bashrc` or `.bash_profile` (for OSX):
|
||||||
```bash
|
```bash
|
||||||
eval "$(thefuck-alias)"
|
eval "$(thefuck --alias)"
|
||||||
```
|
```
|
||||||
|
|
||||||
# ZSH
|
# ZSH
|
||||||
|
|
||||||
Add this alias to `.zshrc`:
|
Add this alias to `.zshrc`:
|
||||||
```bash
|
```bash
|
||||||
eval "$(thefuck-alias)"
|
eval "$(thefuck --alias)"
|
||||||
```
|
```
|
||||||
|
|
||||||
# Fish
|
# Fish
|
||||||
@ -31,12 +31,12 @@ end
|
|||||||
|
|
||||||
Alternatively, you can redirect the output of `thefuck-alias`:
|
Alternatively, you can redirect the output of `thefuck-alias`:
|
||||||
```bash
|
```bash
|
||||||
~> thefuck-alias >> ~/.config/fish/config.fish
|
~> thefuck --alias >> ~/.config/fish/config.fish
|
||||||
```
|
```
|
||||||
|
|
||||||
Or, yet, you can create a function:
|
Or, yet, you can create a function:
|
||||||
```bash
|
```bash
|
||||||
~> thefuck-alias > ~/.config/fish/functions/fuck.fish
|
~> thefuck --alias > ~/.config/fish/functions/fuck.fish
|
||||||
```
|
```
|
||||||
|
|
||||||
# Powershell
|
# Powershell
|
||||||
|
Loading…
x
Reference in New Issue
Block a user