Work like "thefuck" and use AI to automatically correct previous command #177
FunnySaltyFish
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
You could potentially use something along the lines of
Make an alias for it and pop it in your shell profile :) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
thefuck is a command line tool which can automatically correct your last command. When something gets wrong, just type
fuck
and it will try to correct it.Thefuck uses user-defined rules to do the correction, but we can use AI now! We can also provide some information to help AI give the correct command. The command might be like:
sgpt fuck sgpt fuck "some extra information"
Beta Was this translation helpful? Give feedback.
All reactions