Advertisement
Guest User

Untitled

a guest
Oct 13th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. # Path to your oh-my-zsh installation.
  2. export ZSH="/Users/$(whoami)/.oh-my-zsh"
  3.  
  4. # Set name of the theme to load --- if set to "random", it will
  5. ZSH_THEME="powerlevel9k/powerlevel9k"
  6.  
  7. # PowerLevel9k Configuration
  8. POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir rbenv vcs)
  9. POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status root_indicator background_jobs history time)
  10. POWERLEVEL9K_PROMPT_ON_NEWLINE=true
  11. POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
  12.  
  13. # VCS segment
  14. POWERLEVEL9K_VCS_CLEAN_BACKGROUND='239'
  15. POWERLEVEL9K_VCS_CLEAN_FOREGROUND='010'
  16. POWERLEVEL9K_VCS_MODIFIED_BACKGROUND='239'
  17. POWERLEVEL9K_VCS_MODIFIED_FOREGROUND='yellow'
  18. POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND='239'
  19. POWERLEVEL9K_VCS_UNTRACKED_FOREGROUND='red'
  20.  
  21. # Add a space in the first prompt
  22. POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX="%f"
  23.  
  24. # Visual customisation of the second prompt line
  25. local user_symbol="$"
  26. if [[ $(print -P "%#") =~ "#" ]]; then
  27. user_symbol = "#"
  28. fi
  29.  
  30. POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="%{%B%F{black}%K{yellow}%} $user_symbol%{%b%f%k%F{yellow}%} %{%f%}"
  31.  
  32. # Uncomment the following line to automatically update without prompting.
  33. DISABLE_UPDATE_PROMPT="true"
  34.  
  35. # Uncomment the following line to enable command auto-correction.
  36. ENABLE_CORRECTION="true"
  37.  
  38. # Uncomment the following line if you want to change the command execution time
  39. HIST_STAMPS="dd.mm.yyyy"
  40.  
  41. # Which plugins would you like to load?
  42. plugins=(
  43. git
  44. zsh-autosuggestions
  45. )
  46.  
  47. source $ZSH/oh-my-zsh.sh
  48.  
  49. # User configuration
  50.  
  51. source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement