mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-05-11 05:55:17 +00:00
Use OSTYPE instead of uname whenever possible for better speed. (#5496)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user