diff --git a/zsh/functions.zsh b/zsh/functions.zsh index a1319bc..977ca4f 100644 --- a/zsh/functions.zsh +++ b/zsh/functions.zsh @@ -34,3 +34,7 @@ lazy_load() { welcome() { python "$ZSH_DOTFILES/welcome/main.py" } + +if is_linux && command_exists xdg-open; then + open() { nohup xdg-open "$@" &> /dev/null; } +fi