From 7a7c48ffb6e13461ca783c2d01c4643b1b07abc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 9 Jan 2018 23:31:02 +0100 Subject: Add tobg shell shortcut function --- shellrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shellrc b/shellrc index 0ede298..14fb0b9 100644 --- a/shellrc +++ b/shellrc @@ -114,3 +114,8 @@ ssh-clear() { rm -rf ~/.cache/ssh mkdir -p ~/.cache/ssh } + +# Run process in background +tobg() { + "$@" >/dev/null 2>&1 & +} -- cgit v1.2.3