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"
|
export LC_CTYPE="en_US.UTF-8"
|
||||||
# Homebrew / MacOS Library Path
|
# Homebrew / MacOS Library Path
|
||||||
export LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib"
|
|
||||||
|
|
||||||
uname=`uname -s`
|
uname=$(uname -s)
|
||||||
case $uname in
|
case $uname in
|
||||||
Linux)
|
Linux)
|
||||||
export OS="linux"
|
export OS="linux"
|
||||||
;;
|
;;
|
||||||
Darwin)
|
Darwin)
|
||||||
export OS="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."
|
echo "Can't detect operating system from shell."
|
||||||
@ -132,8 +134,6 @@ then
|
|||||||
source ~/.cargo/env
|
source ~/.cargo/env
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ruby dev
|
|
||||||
eval "$(rbenv init - zsh)"
|
|
||||||
|
|
||||||
# Liz stuff lol
|
# Liz stuff lol
|
||||||
# curl -fsSL https://icanhazdadjoke.com | lolcat
|
# curl -fsSL https://icanhazdadjoke.com | lolcat
|
||||||
|
Loading…
Reference in New Issue
Block a user