From c895703db78607a741002d11456f09d08632b29c Mon Sep 17 00:00:00 2001 From: dx Date: Sat, 27 Jun 2020 11:05:43 +0100 Subject: +devour function for zshrc This destroys the terminal after launching the script --- Shell/.zshrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Shell') diff --git a/Shell/.zshrc b/Shell/.zshrc index 04dc45a..e7062de 100644 --- a/Shell/.zshrc +++ b/Shell/.zshrc @@ -99,6 +99,10 @@ gentemplate() { done } +devour() { + $@ & disown; exit +} + ## NVM config export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm -- cgit v1.2.3-13-gbd6f