Load zsh typewriter theme

This commit is contained in:
Jeremy Dormitzer 2021-02-21 09:07:50 -05:00
parent 3746e68810
commit 519094f467

View File

@ -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