diff options
author | Karel Kočí <cynerd@email.cz> | 2018-01-09 23:31:02 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-01-09 23:31:02 +0100 |
commit | 7a7c48ffb6e13461ca783c2d01c4643b1b07abc1 (patch) | |
tree | 577ae7e8e9c65a2f83c891556b589c40a03428f1 | |
parent | d031eedeee1c4b8257ba27769e69877e618ca1ea (diff) | |
download | myconfigs-7a7c48ffb6e13461ca783c2d01c4643b1b07abc1.tar.gz myconfigs-7a7c48ffb6e13461ca783c2d01c4643b1b07abc1.tar.bz2 myconfigs-7a7c48ffb6e13461ca783c2d01c4643b1b07abc1.zip |
Add tobg shell shortcut function
-rw-r--r-- | shellrc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -114,3 +114,8 @@ ssh-clear() { rm -rf ~/.cache/ssh mkdir -p ~/.cache/ssh } + +# Run process in background +tobg() { + "$@" >/dev/null 2>&1 & +} |