mirror of
https://github.com/nvbn/thefuck.git
synced 2025-10-30 14:44:05 +00:00
Update readme
This commit is contained in:
@@ -120,7 +120,7 @@ alias fuck='eval $(thefuck $(fc -ln -1 | tail -n 1)); fc -R'
|
|||||||
|
|
||||||
If you are using `tcsh`:
|
If you are using `tcsh`:
|
||||||
```tcsh
|
```tcsh
|
||||||
alias fuck 'set fuckedCmd=`history -h 2 | head -n 1` && eval `thefuck ${fuckedCmd}`'
|
alias fuck 'set fucked_cmd=`history -h 2 | head -n 1` && eval `thefuck ${fucked_cmd}`'
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, you can redirect the output of `thefuck-alias`:
|
Alternatively, you can redirect the output of `thefuck-alias`:
|
||||||
|
|||||||
Reference in New Issue
Block a user