Update .zshrc

This commit is contained in:
Rawley Fowler 2022-05-31 11:04:35 -06:00 committed by GitHub
parent 65294bb5c9
commit c4ea15315f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,17 @@
# Rawley Fowler's .zshrc, last edited May 2022 # Rawley Fowler's .zshrc, last edited May 2022
export ZSH="$HOME/.oh-my-zsh" export ZSH="$HOME/.oh-my-zsh"
# Configure brew on startup of new machine
if ! type "brew" > /dev/null; then
exec /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
fi
# Configure git, on startup of new machine
if ! type "git" > /dev/null; then
exec brew install git
git config --global core.excludesfile ~/.gitignore_global
fi
#Oh my zsh #Oh my zsh
ZSH_THEME="afowler" ZSH_THEME="afowler"
plugins=(git) plugins=(git)
@ -11,3 +22,5 @@ source $ZSH/oh-my-zsh.sh
export PATH=$PATH:$HOME/.emacs.d/bin export PATH=$PATH:$HOME/.emacs.d/bin
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
eval "$(direnv hook zsh)"