changed xdg-open,open to open_command

This commit is contained in:
Sinan Kanidagli 2024-06-13 12:52:31 +02:00
commit 4c5e1c8c8b

View file

@ -25,12 +25,8 @@ function tasko () {
echo "Open $annotation_desc? [y/n]"
read answer
if [[ $answer == y* ]] || [[ $answer == Y* ]]; then
if [[ $(uname -s) == "Linux" ]]; then
xdg-open $annotation_desc
return 0
else
open $annotation_desc
return 0
open_command $annotation_desc
return 0
fi
return 1
fi