In my .bashrc
:
function keepassxc(){
"/Applications/KeePassXC.app/Contents/MacOS/KeePassXC" "${@}"
}
export -f keepassxc
From Terminal:
$ nohup keepassxc
nohup: ignoring input and appending output to 'nohup.out'
nohup: failed to run command 'keepassxc': No such file or directory
How can I run the bash function with nohup? Actually I want to run nohup keepassxc >/dev/null 2>&1 &