diff options
author | dx <aryadevchavali1@gmail.com> | 2020-06-27 11:05:43 +0100 |
---|---|---|
committer | dx <aryadevchavali1@gmail.com> | 2020-06-27 11:05:43 +0100 |
commit | c895703db78607a741002d11456f09d08632b29c (patch) | |
tree | b9b2fc947278598e27d92df0baba1ce2db5e0014 /Shell/.zshrc | |
parent | 5caab1de5de9120532838ffa18e96c963152698e (diff) | |
download | dotfiles-c895703db78607a741002d11456f09d08632b29c.tar.gz dotfiles-c895703db78607a741002d11456f09d08632b29c.tar.bz2 dotfiles-c895703db78607a741002d11456f09d08632b29c.zip |
+devour function for zshrc
This destroys the terminal after launching the script
Diffstat (limited to 'Shell/.zshrc')
-rw-r--r-- | Shell/.zshrc | 4 |
1 files changed, 4 insertions, 0 deletions
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 |