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 | 19bf79b591ca86725dcf1cf4ddae5b7405228ab3 (patch) | |
| tree | 00f97ace0d93eab8b2d930abf28145d40a29fee8 | |
| parent | 4e1627b1504b5fe26d07945e53beed61727102ae (diff) | |
| download | dotfiles-19bf79b591ca86725dcf1cf4ddae5b7405228ab3.tar dotfiles-19bf79b591ca86725dcf1cf4ddae5b7405228ab3.tar.zst dotfiles-19bf79b591ca86725dcf1cf4ddae5b7405228ab3.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 |
