From 6cf03557358c586fbe1a5db0c6614c386a3f4763 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 13 Jun 2021 16:10:53 +0300 Subject: Added a zsh function for running apps in the background --- .zshrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.zshrc b/.zshrc index 29b4fc3..d4d2007 100644 --- a/.zshrc +++ b/.zshrc @@ -307,4 +307,13 @@ alias cdg="cd ~/Programming/GitHub-repos/" alias cdl="cd ~/Programming/GitLab-repos/" alias cds="cd ~/Programming/source/" +# ------------------------------------------------------------------------------ +# Binds and alias-like functions +# ------------------------------------------------------------------------------ + +bgr () { + nohup $@ 2>&1 & + disown +} + bindkey '^H' backward-kill-word -- cgit v1.2.3