mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[zsh] extend open to android
This commit is contained in:
parent
71f4f96c3c
commit
f971182e3a
1 changed files with 3 additions and 1 deletions
|
@ -35,6 +35,8 @@ welcome() {
|
|||
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; }
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue