Micro-op : Use a shell variable instead of an app call to guess os type

This commit is contained in:
Damien Guihal 2015-06-29 09:39:27 +02:00
commit 2a7bb8adb3

View file

@ -1,6 +1,6 @@
# Sublime Text 2 Aliases
if [[ $('uname') == 'Linux' ]]; then
if [[ "$OSTYPE" == 'linux-gnu' ]]; then
local _sublime_linux_paths > /dev/null 2>&1
_sublime_linux_paths=(
"$HOME/bin/sublime_text"