Update vimrc

This commit is contained in:
2019-05-15 14:00:25 -04:00
parent d4c36b7a4e
commit b89949e823
3 changed files with 41 additions and 35 deletions

View File

@@ -31,6 +31,14 @@ abort() {
set -e
cwd=$PWD
platform=`uname` # 'Linux', 'Darwin', etc
printf "${YELLOW}Platform: $platform${NORMAL}\n"
uname_s="$(uname -s)"
case "${uname_s}" in
Linux*) machine=Linux;;
Darwin*) machine=Mac;;
CYGWIN*) machine=Cygwin;;
MINGW*) machine=MinGw;;
*) machine="UNKNOWN:${uname_s}"
esac
printf "${YELLOW}Platform: $machine${NORMAL}\n"