summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2020-11-08 10:32:47 +0100
committerxengineering <mail2xengineering@protonmail.com>2020-11-08 10:32:47 +0100
commitfa00dc201752f795d11125c5a322231fa5bbf577 (patch)
tree00f97ace0d93eab8b2d930abf28145d40a29fee8
parent57a0c2674d4e7044a0d8f8325d0c9583f632e1c6 (diff)
downloaddotfiles-fa00dc201752f795d11125c5a322231fa5bbf577.tar
dotfiles-fa00dc201752f795d11125c5a322231fa5bbf577.tar.zst
dotfiles-fa00dc201752f795d11125c5a322231fa5bbf577.zip
Add 'open' Command with custom xdg-open Function
-rw-r--r--.bashrc2
1 files changed, 2 insertions, 0 deletions
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