aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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; }