aboutsummaryrefslogtreecommitdiff
path: root/shellrc
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-01-09 23:31:02 +0100
committerKarel Kočí <cynerd@email.cz>2018-01-09 23:31:02 +0100
commit7a7c48ffb6e13461ca783c2d01c4643b1b07abc1 (patch)
tree577ae7e8e9c65a2f83c891556b589c40a03428f1 /shellrc
parentd031eedeee1c4b8257ba27769e69877e618ca1ea (diff)
downloadmyconfigs-7a7c48ffb6e13461ca783c2d01c4643b1b07abc1.tar.gz
myconfigs-7a7c48ffb6e13461ca783c2d01c4643b1b07abc1.tar.bz2
myconfigs-7a7c48ffb6e13461ca783c2d01c4643b1b07abc1.zip
Add tobg shell shortcut function
Diffstat (limited to 'shellrc')
-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 &
+}