Run a command and forget about it.
function launch
nohup $argv >/dev/null ^/dev/null &
disown (jobs --last --pid)
end
With fisherman:
fisher kisaragi-hiu/launch
Or, alternatively, just copy the definition above into your configuration. This is made into a plugin for easier dependency tracking.
launch openbox --replace