diff --git a/zsh/.zshrc b/zsh/.zshrc index 07aaf5b..ef17ef6 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -2,13 +2,23 @@ # export PATH=$HOME/bin:/usr/local/bin:$PATH # Path to your oh-my-zsh installation. -export ZSH="~/.oh-my-zsh" +export ZSH="$HOME/.oh-my-zsh" -# Set name of the theme to load --- if set to "random", it will -# load a random theme each time oh-my-zsh is loaded, in which case, -# to know which specific one was loaded, run: echo $RANDOM_THEME -# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes -ZSH_THEME="robbyrussell" +# Load up typewritten theme if it exists +if [[ -d "$HOME/typewritten" ]] +then + export TYPEWRITTEN_CURSOR="terminal" + fpath+=$HOME/typewritten + autoload -U promptinit; promptinit + prompt typewritten + ZSH_THEME="" +else + # Set name of the theme to load --- if set to "random", it will + # load a random theme each time oh-my-zsh is loaded, in which case, + # to know which specific one was loaded, run: echo $RANDOM_THEME + # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes + 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