diff --git a/config/zshrc b/config/zshrc index a3d2d46..101cbe1 100644 --- a/config/zshrc +++ b/config/zshrc @@ -108,4 +108,30 @@ alias gdiffc="git diff --cached" alias gitc="git commit" export LC_CTYPE="en_US.UTF-8" -source ~/.cargo/env +# Homebrew / MacOS Library Path +export LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib" + +case ($uname -s) in + Linux) + export OS="linux" + ;; + Darwin) + export OS="darwin" + ;; + *) + echo "Can't detect operating system from shell." + ;; +esac + + +# Rust dev +if [ -d ~/.cargo/ ] +then + source ~/.cargo/env +fi + +# Ruby dev +eval "$(rbenv init - zsh)" + +# Liz stuff lol +# curl -fsSL https://icanhazdadjoke.com | lolcat