prompt.zsh 461 B

1234567891011121314151617181920212223242526272829
  1. export PAGER=less
  2. export LC_CTYPE=en_US.UTF-8
  3. # speed stuff.
  4. #setopt no_beep
  5. setopt auto_cd
  6. setopt multios
  7. setopt cdablevarS
  8. if [[ x$WINDOW != x ]]
  9. then
  10. SCREEN_NO="%B$WINDOW%b "
  11. else
  12. SCREEN_NO=""
  13. fi
  14. PS1="%n@%m:%~%# "
  15. # Setup the prompt with pretty colors
  16. setopt prompt_subst
  17. export LSCOLORS="Gxfxcxdxbxegedabagacad"
  18. function oh_my_zsh_theme_precmd() {
  19. # Blank function; override this in your themes
  20. }
  21. source "$ZSH/themes/$ZSH_THEME.zsh-theme"