Created
April 1, 2024 16:55
-
-
Save m93a/c910945f680788918d5eb1fa9cb6f051 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function x | |
nohup fish -c "$argv &" > /dev/null && exit | |
end | |
function x_complete | |
set arg (commandline -ct) | |
complete -C$arg | |
end | |
complete --command x --arguments '(x_complete)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment