From 2d05c28769a72fa7aba0405472465e8b178c444d Mon Sep 17 00:00:00 2001 From: thomasabishop Date: Thu, 8 Feb 2024 18:13:31 +0000 Subject: [PATCH] zsh: add app launcher script --- zsh/zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zsh/zshrc b/zsh/zshrc index dc8bf55..32a493c 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -6,6 +6,11 @@ alias grep="rg" alias xhd="cd /run/media/thomas" alias cs-update="/home/thomas/repos/eolas/_scripts/auto_save.sh" alias cs-query="/home/thomas/repos/eolas/_scripts/query.sh" +# Launch an application and return to terminal prompt + +opn(){ + nohup $1 &> /dev/null & ; +} # Set properties based on OS