mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-21 01:59:10 +00:00
Updated Shell aliases (markdown)
parent
2bd21d13ba
commit
90d4267907
@ -31,4 +31,16 @@ iex "$(thefuck --alias)"
|
|||||||
|
|
||||||
```tcsh
|
```tcsh
|
||||||
alias fuck 'set fucked_cmd=`history -h 2 | head -n 1` && eval `thefuck ${fucked_cmd}`'
|
alias fuck 'set fucked_cmd=`history -h 2 | head -n 1` && eval `thefuck ${fucked_cmd}`'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# xonsh
|
||||||
|
|
||||||
|
Install the xonsh extension:
|
||||||
|
```
|
||||||
|
pip install xontrib-thefuck
|
||||||
|
```
|
||||||
|
|
||||||
|
And then load it (you can add this to xonshrc for it to be loaded in every xonsh session):
|
||||||
|
```
|
||||||
|
xontrib load thefuck
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user