diff --git a/zsh/.zprofile b/zsh/.zprofile index 62c06b0..fa94f34 100644 --- a/zsh/.zprofile +++ b/zsh/.zprofile @@ -1,3 +1,6 @@ +if [[ -f "/opt/homebrew/bin/brew" ]]; then + eval "$(/opt/homebrew/bin/brew shellenv)" +fi ulimit -n 10240 export PATH="$PATH:/Users/jdormit/.local/bin" eval "$(pyenv init --path)" diff --git a/zsh/.zshrc b/zsh/.zshrc index 807998d..9826d96 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -4,7 +4,15 @@ # Path to your oh-my-zsh installation. export ZSH="$HOME/.oh-my-zsh" -ZSH_THEME="typewritten" +fpath=($fpath "$HOME/.zfunctions") +if [ -e "$HOME/.zfunctions/prompt_typewritten_setup" ]; then + export ZSH_THEME="" + # Set typewritten ZSH as a prompt + autoload -U promptinit; promptinit + prompt typewritten +else + export ZSH_THEME="robbyrussell" +fi # Set list of themes to pick from when loading at random # Setting this variable when ZSH_THEME=random will cause zsh to load