mirror of
https://github.com/nvbn/thefuck.git
synced 2025-01-31 02:01:13 +00:00
Undo last change, better explain how TF_ALIAS works
parent
ec540cef15
commit
8df139ef55
@ -16,7 +16,6 @@ alias fuck='eval $(thefuck $(fc -ln -1 | tail -n 1)); fc -R'
|
||||
|
||||
Add this function to `config.fish`:
|
||||
```fish
|
||||
set TF_ALIAS fuck
|
||||
function fuck -d 'Correct your previous console command'
|
||||
set -l exit_code $status
|
||||
set -l eval_script (mktemp 2>/dev/null ; or mktemp -t 'thefuck')
|
||||
|
Loading…
x
Reference in New Issue
Block a user