Migrate to rcm

This commit is contained in:
2020-08-12 02:29:03 +04:00
parent d1b5037e15
commit 547a5b9f84
334 changed files with 3905 additions and 4270 deletions

View File

@@ -0,0 +1,9 @@
function fuck -d "Correct your previous console command"
set -l fucked_up_command $history[1]
env TF_SHELL=fish TF_ALIAS=fuck PYTHONIOENCODING=utf-8 thefuck $fucked_up_command | read -l unfucked_command
if [ "$unfucked_command" != "" ]
eval $unfucked_command
builtin history delete --exact --case-sensitive -- $fucked_up_command
builtin history merge ^ /dev/null
end
end