mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
Use OSTYPE instead of uname whenever possible for better speed. (#5496)
This commit is contained in:
parent
98cd3973d2
commit
a56eac7a71
6 changed files with 9 additions and 9 deletions
|
|
@ -1,4 +1,4 @@
|
|||
if [[ $('uname') == 'Linux' ]]; then
|
||||
if [[ "$OSTYPE" == linux* ]]; then
|
||||
local _sublime_linux_paths > /dev/null 2>&1
|
||||
_sublime_linux_paths=(
|
||||
"$HOME/bin/sublime_text"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue