fix snippet OS
This commit is contained in:
parent
92d17d5e20
commit
8d77aee01a
@ -1,7 +1,7 @@
|
||||
snippet OS
|
||||
options head
|
||||
abbr determine OS type(Mac/Linux/Windows)
|
||||
if [ "$(uname)" == "Darwin" ]; then
|
||||
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
|
||||
elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW32_NT" ]; then
|
||||
if [[ "$(uname)" == "Darwin" ]]; then
|
||||
elif [[ "$(expr substr $(uname -s) 1 5)" == "Linux" ]]; then
|
||||
elif [[ "$(expr substr $(uname -s) 1 10)" == "MINGW32_NT" ]]; then
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user