[zsh] extend open to android
This commit is contained in:
parent
71f4f96c3c
commit
f971182e3a
|
@ -35,6 +35,8 @@ welcome() {
|
||||||
python "$ZSH_DOTFILES/welcome/main.py"
|
python "$ZSH_DOTFILES/welcome/main.py"
|
||||||
}
|
}
|
||||||
|
|
||||||
if is_linux && command_exists xdg-open; then
|
if is_android; then
|
||||||
|
alias open='termux-open'
|
||||||
|
elif is_linux && command_exists xdg-open; then
|
||||||
open() { nohup xdg-open "$@" &> /dev/null; }
|
open() { nohup xdg-open "$@" &> /dev/null; }
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue