diff options
author | xengineering <mail2xengineering@protonmail.com> | 2020-11-08 10:32:47 +0100 |
---|---|---|
committer | xengineering <mail2xengineering@protonmail.com> | 2020-11-08 10:32:47 +0100 |
commit | fa00dc201752f795d11125c5a322231fa5bbf577 (patch) | |
tree | 00f97ace0d93eab8b2d930abf28145d40a29fee8 | |
parent | 57a0c2674d4e7044a0d8f8325d0c9583f632e1c6 (diff) | |
download | dotfiles-fa00dc201752f795d11125c5a322231fa5bbf577.tar dotfiles-fa00dc201752f795d11125c5a322231fa5bbf577.tar.zst dotfiles-fa00dc201752f795d11125c5a322231fa5bbf577.zip |
Add 'open' Command with custom xdg-open Function
-rw-r--r-- | .bashrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |