Skip to main content
edited tags
Source Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 266

I createcreated a detach script, being a wrapper overaround 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-complationcompletion for my detach utility?

I create detach script being a wrapper over 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-complation for detach utility?

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?

Source Link

Bash completion for nohup

I create detach script being a wrapper over 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-complation for detach utility?