Skip to main content
2 of 2
edited tags
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 266

Bash completion for nohup

I created a detach script, being a wrapper around nohup:

#!/bin/bash /usr/bin/nohup "$@" &> /dev/null & 

and I want to get bash-completion to work for this script.

I try to use complete -c detach, but for all arguments there is an addition from the utilities from PATH.

How to properly implement bash-completion for my detach utility?