mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-08-18 10:39:58 +02:00
Merge pull request #2744 from docwhat/ostype-not-uname
Use $OSTYPE instead of uname to speed things up
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
# jira ABC-123 # Opens an existing issue
|
||||
open_jira_issue () {
|
||||
local open_cmd
|
||||
if [[ $(uname -s) == 'Darwin' ]]; then
|
||||
if [[ "$OSTYPE" = darwin* ]]; then
|
||||
open_cmd='open'
|
||||
else
|
||||
open_cmd='xdg-open'
|
||||
|
Reference in New Issue
Block a user