mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-27 03:14:56 +01:00
Micro-op : Use a shell variable instead of an app call to guess os type
This commit is contained in:
parent
6f100a21e2
commit
2a7bb8adb3
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
# Sublime Text 2 Aliases
|
# Sublime Text 2 Aliases
|
||||||
|
|
||||||
if [[ $('uname') == 'Linux' ]]; then
|
if [[ "$OSTYPE" == 'linux-gnu' ]]; then
|
||||||
local _sublime_linux_paths > /dev/null 2>&1
|
local _sublime_linux_paths > /dev/null 2>&1
|
||||||
_sublime_linux_paths=(
|
_sublime_linux_paths=(
|
||||||
"$HOME/bin/sublime_text"
|
"$HOME/bin/sublime_text"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue