Archive unused files, pending deletion

This commit is contained in:
tim.mccarthy committed 2022-05-17 17:12:19 -07:00
1 parent 3217ba8549
commit d74517cdba
43 files changed
-8

No files matched your search

+9
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