summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index a27fc9a..0196d39 100644
--- a/.bashrc
+++ b/.bashrc
@@ -35,6 +35,8 @@ if command -v pacman > /dev/null # ugly hack to detect Arch Linux
then
alias t="todo.sh"
fi
+function my_xdg_open() { nohup xdg-open "$1" > /dev/null 2>&1 & }
+alias open=my_xdg_open
# extend PATH by custom scripts (location based on XDG)