From fa00dc201752f795d11125c5a322231fa5bbf577 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 8 Nov 2020 10:32:47 +0100 Subject: Add 'open' Command with custom xdg-open Function --- .bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bashrc b/.bashrc index 8f33ae2..433ccc8 100644 --- a/.bashrc +++ b/.bashrc @@ -13,6 +13,8 @@ alias dot='/usr/bin/git --git-dir=$HOME/dotfiles.git/ --work-tree=$HOME' alias commit='git commit' alias gitstat='git status' alias ip='ip --color=auto' +function my_xdg_open() { nohup xdg-open "$1" > /dev/null 2>&1 & } +alias open=my_xdg_open PATH=$PATH:~/bin -- cgit v1.2.3-70-g09d2