mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
changed xdg-open,open to open_command
This commit is contained in:
parent
ff81b3ddb8
commit
4c5e1c8c8b
1 changed files with 2 additions and 6 deletions
|
|
@ -25,12 +25,8 @@ function tasko () {
|
||||||
echo "Open $annotation_desc? [y/n]"
|
echo "Open $annotation_desc? [y/n]"
|
||||||
read answer
|
read answer
|
||||||
if [[ $answer == y* ]] || [[ $answer == Y* ]]; then
|
if [[ $answer == y* ]] || [[ $answer == Y* ]]; then
|
||||||
if [[ $(uname -s) == "Linux" ]]; then
|
open_command $annotation_desc
|
||||||
xdg-open $annotation_desc
|
return 0
|
||||||
return 0
|
|
||||||
else
|
|
||||||
open $annotation_desc
|
|
||||||
return 0
|
|
||||||
fi
|
fi
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue