prompt.zsh 492 B

1234567891011121314151617181920212223242526272829
  1. bindkey -e
  2. # Directory stuff.
  3. setopt AUTO_NAME_DIRS
  4. # Speed stuff.
  5. #setopt NO_BEEP
  6. setopt AUTO_CD
  7. setopt MULTIOS
  8. setopt CDABLEVARS
  9. bindkey -e
  10. if [[ x$WINDOW != x ]]
  11. then
  12. SCREEN_NO="%B$WINDOW%b "
  13. else
  14. SCREEN_NO=""
  15. fi
  16. PS1="%n@%m:%~%# "
  17. # Setup the prompt with pretty colors
  18. setopt prompt_subst
  19. export LSCOLORS="Gxfxcxdxbxegedabagacad"
  20. PROMPT='%{$fg_bold[red]%}➜ %{$fg_bold[green]%}%p %{$fg[cyan]%}%c %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'