Add rust and ruby stuff to zshrc, add OS test
This commit is contained in:
parent
ed72b5ab86
commit
21d0c8b408
28
config/zshrc
28
config/zshrc
@ -108,4 +108,30 @@ alias gdiffc="git diff --cached"
|
|||||||
alias gitc="git commit"
|
alias gitc="git commit"
|
||||||
|
|
||||||
export LC_CTYPE="en_US.UTF-8"
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user