Added zsh trick to disown processes

This commit is contained in:
Michele Renda 2017-05-04 09:03:14 +03:00
commit 8c0b488210
2 changed files with 2 additions and 2 deletions

View file

@ -23,7 +23,7 @@ nohup-command-line() {
tokens_space=("${(@s/ /)tokens_slash[-1]}")
command=("$tokens_space[1]")
BUFFER="nohup $BUFFER &> $command.out &"
BUFFER="nohup $BUFFER &> $command.out &!"
fi
}
zle -N nohup-command-line