Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Path to your oh-my-zsh installation.
- export ZSH="/Users/$(whoami)/.oh-my-zsh"
- # Set name of the theme to load --- if set to "random", it will
- ZSH_THEME="powerlevel9k/powerlevel9k"
- # PowerLevel9k Configuration
- POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir rbenv vcs)
- POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status root_indicator background_jobs history time)
- POWERLEVEL9K_PROMPT_ON_NEWLINE=true
- POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
- # VCS segment
- POWERLEVEL9K_VCS_CLEAN_BACKGROUND='239'
- POWERLEVEL9K_VCS_CLEAN_FOREGROUND='010'
- POWERLEVEL9K_VCS_MODIFIED_BACKGROUND='239'
- POWERLEVEL9K_VCS_MODIFIED_FOREGROUND='yellow'
- POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND='239'
- POWERLEVEL9K_VCS_UNTRACKED_FOREGROUND='red'
- # Add a space in the first prompt
- POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX="%f"
- # Visual customisation of the second prompt line
- local user_symbol="$"
- if [[ $(print -P "%#") =~ "#" ]]; then
- user_symbol = "#"
- fi
- POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="%{%B%F{black}%K{yellow}%} $user_symbol%{%b%f%k%F{yellow}%} %{%f%}"
- # Uncomment the following line to automatically update without prompting.
- DISABLE_UPDATE_PROMPT="true"
- # Uncomment the following line to enable command auto-correction.
- ENABLE_CORRECTION="true"
- # Uncomment the following line if you want to change the command execution time
- HIST_STAMPS="dd.mm.yyyy"
- # Which plugins would you like to load?
- plugins=(
- git
- zsh-autosuggestions
- )
- source $ZSH/oh-my-zsh.sh
- # User configuration
- source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement