Fix platform detection

This commit is contained in:
maddiebaka 2023-09-01 03:56:20 -04:00
parent 906e7462e0
commit 1688885a6f
1 changed files with 4 additions and 4 deletions

View File

@ -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