aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shellrc5
1 files changed, 5 insertions, 0 deletions
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 &
+}