Fix platform detection
This commit is contained in:
parent
906e7462e0
commit
1688885a6f
@ -110,15 +110,17 @@ alias rc2014="minicom -D /dev/tty.usbmodem09681"
|
||||
|
||||
export LC_CTYPE="en_US.UTF-8"
|
||||
# Homebrew / MacOS Library Path
|
||||
export LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib"
|
||||
|
||||
uname=`uname -s`
|
||||
uname=$(uname -s)
|
||||
case $uname in
|
||||
Linux)
|
||||
export OS="linux"
|
||||
;;
|
||||
Darwin)
|
||||
export OS="darwin"
|
||||
export LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib"
|
||||
# Ruby dev
|
||||
eval "$(rbenv init - zsh)"
|
||||
;;
|
||||
*)
|
||||
echo "Can't detect operating system from shell."
|
||||
@ -132,8 +134,6 @@ then
|
||||
source ~/.cargo/env
|
||||
fi
|
||||
|
||||
# Ruby dev
|
||||
eval "$(rbenv init - zsh)"
|
||||
|
||||
# Liz stuff lol
|
||||
# curl -fsSL https://icanhazdadjoke.com | lolcat
|
||||
|
Loading…
Reference in New Issue
Block a user