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.
Last active
August 13, 2016 03:14
-
-
Save fud/76dbbfd4acdb358cc583caece9cb453a to your computer and use it in GitHub Desktop.
Prezto themes with emacs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment