Add '.zshrc'
This commit is contained in:
parent
6e2f3eec66
commit
2e8b81cbdd
16
.zshrc
Normal file
16
.zshrc
Normal file
@ -0,0 +1,16 @@
|
||||
# pre-reqs
|
||||
if [ ! -f ~/.shell-prereqs-installed ];
|
||||
then
|
||||
echo "Installing prereqs"
|
||||
which brew > /dev/null || bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
|
||||
brew list --cask homebrew/cask-fonts/font-open-dyslexic-nerd-font > /dev/null || brew install homebrew/cask-fonts/font-open-dyslexic-nerd-font
|
||||
which starship > /dev/null || brew install starship
|
||||
|
||||
touch ~/.shell-prereqs-installed
|
||||
fi
|
||||
|
||||
for filename in ~/.dotfiles/*; do
|
||||
source $filename
|
||||
done
|
||||
|
||||
eval "$(starship init zsh)"
|
Loading…
Reference in New Issue
Block a user