[zsh] add open command for Linux

This commit is contained in:
Dmytro Meleshko 2019-08-28 10:46:52 +03:00
parent 88a549bea3
commit 71f4f96c3c

View file

@ -34,3 +34,7 @@ lazy_load() {
welcome() { welcome() {
python "$ZSH_DOTFILES/welcome/main.py" python "$ZSH_DOTFILES/welcome/main.py"
} }
if is_linux && command_exists xdg-open; then
open() { nohup xdg-open "$@" &> /dev/null; }
fi