Skip to content

Instantly share code, notes, and snippets.

@fud
Last active August 13, 2016 03:14
Show Gist options
  • Select an option

  • Save fud/76dbbfd4acdb358cc583caece9cb453a to your computer and use it in GitHub Desktop.

Select an option

Save fud/76dbbfd4acdb358cc583caece9cb453a to your computer and use it in GitHub Desktop.
Prezto themes with emacs.
#
# Prompt
#
# Set the prompt theme to load.
# Setting it to 'random' loads a random theme.
# Auto set to 'off' on dumb terminals.
if [[ $TERM =~ '^eterm' ]]; then
zstyle ':prezto:module:prompt' theme 'steeef'
else
zstyle ':prezto:module:prompt' theme 'agnoster'
fi

Prezto themes with emacs

I like to use Prezto as my zsh theme but the more advanced theme is using a patched font that wasn't working well with emacs ansi-term so I'm using a different theme based on the terminal setting in my .zpreztorc file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment