From 62608aa7f576a6d63fde285bc573c09a1840c218 Mon Sep 17 00:00:00 2001 From: Jordan Atwood Date: Sun, 11 Dec 2022 19:00:00 -0800 Subject: [PATCH] Add nohup convenience alias This alias removes any output which would be generated. By default, `nohup` generates a `nohup.out` file in the cwd or home directory with the output from the executed program. Most of the time I don't need to monitor the program's output, and when I do, I can easily run `\nohup ` to circumvent this alias. --- src/.bashrc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/.bashrc b/src/.bashrc index 6511c2e..7184d11 100755 --- a/src/.bashrc +++ b/src/.bashrc @@ -97,6 +97,7 @@ alias ip='ip --color=auto' alias tree='tree -Csuh' alias ffmpeg='ffmpeg -hide_banner' alias ffprobe='ffprobe -hide_banner' +alias nohup='nohup >/dev/null &>/dev/null' # simple shortcuts alias aliases='alias -p'