Skip to content

Instantly share code, notes, and snippets.

@m93a
Created April 1, 2024 16:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save m93a/c910945f680788918d5eb1fa9cb6f051 to your computer and use it in GitHub Desktop.
Save m93a/c910945f680788918d5eb1fa9cb6f051 to your computer and use it in GitHub Desktop.
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