mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +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]"
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue