mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[zsh] add open command for Linux
This commit is contained in:
parent
88a549bea3
commit
71f4f96c3c
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue