aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-06-09 02:55:09 -0400
committertdro <tdro@users.noreply.github.com>2020-06-09 02:55:09 -0400
commit46c9fe08472310222c49a990991245c9cd843f0f (patch)
tree2b02af0e6a266af5e69a43b903f4ff17fe34c7dd /.bashrc
parentf95d061d096278bb1cd96b500b3a4ccba861cf63 (diff)
downloaddotfiles-46c9fe08472310222c49a990991245c9cd843f0f.tar.gz
dotfiles-46c9fe08472310222c49a990991245c9cd843f0f.tar.bz2
dotfiles-46c9fe08472310222c49a990991245c9cd843f0f.zip
.bashrc: Add disown helper
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 58b4ead..50e7bfd 100644
--- a/.bashrc
+++ b/.bashrc
@@ -116,3 +116,6 @@ history-remove-duplicates() { awk '!visited[$0]++' "$HOME/.bash_history" | spong
# extract docker container as rootfs
docker-rootfs() { id=$(docker run -d "$1" /bin/true) && docker export "$id" -o "$2.tar" && docker container rm "$id"; }
+
+# swallow
+swallow() { "$@" & disown; exit; }