diff --git a/.zgenrc b/.zgenrc index 0744ef6..e7b1882 100644 --- a/.zgenrc +++ b/.zgenrc @@ -87,6 +87,7 @@ load-starter-plugin-list() { zgen oh-my-zsh plugins/screen zgen oh-my-zsh plugins/vagrant zgen oh-my-zsh plugins/autojump + zgen oh-my-zsh plugins/tmux if [ $(uname -a | grep -ci Darwin) = 1 ]; then # Load macOS-specific plugins diff --git a/.zshrc b/.zshrc index 0405631..1388342 100644 --- a/.zshrc +++ b/.zshrc @@ -4,6 +4,55 @@ setopt correct # turn off the infernal correctall for filenames unsetopt correctall +ZSH_TMUX_AUTOSTART=true + +POWERLEVEL9K_MODE='nerdfont-complete' +#POWERLEVEL9K_SHORTEN_DIR_LENGTH=1 +#POWERLEVEL9K_SHORTEN_DELIMITER="" +#POWERLEVEL9K_SHORTEN_STRATEGY="truncate_from_right" +POWERLEVEL9K_PROMPT_ON_NEWLINE=true +POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR='' +POWERLEVEL9K_RIGHT_SEGMENT_SEPARATOR='' +POWERLEVEL9K_LEFT_SUBSEGMENT_SEPARATOR='' +POWERLEVEL9K_RIGHT_SUBSEGMENT_SEPARATOR='' +POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX="%F{blue}\u256D\u2500%F{white}" +POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="%F{blue}\u2570\uf460%F{white} " +POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(root_indicator dir dir_writable_joined) +POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(command_execution_time + vcs background_jobs_joined time_joined) +POWERLEVEL9K_VCS_MODIFIED_BACKGROUND="clear" +POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND="clear" +POWERLEVEL9K_VCS_MODIFIED_FOREGROUND="yellow" +POWERLEVEL9K_VCS_UNTRACKED_FOREGROUND="yellow" +POWERLEVEL9K_DIR_HOME_BACKGROUND="clear" +POWERLEVEL9K_DIR_HOME_FOREGROUND="blue" +POWERLEVEL9K_DIR_HOME_SUBFOLDER_BACKGROUND="clear" +POWERLEVEL9K_DIR_HOME_SUBFOLDER_FOREGROUND="blue" +POWERLEVEL9K_DIR_WRITABLE_FORBIDDEN_BACKGROUND="clear" +POWERLEVEL9K_DIR_WRITABLE_FORBIDDEN_FOREGROUND="red" +POWERLEVEL9K_DIR_DEFAULT_BACKGROUND="clear" +POWERLEVEL9K_DIR_DEFAULT_FOREGROUND="white" +POWERLEVEL9K_ROOT_INDICATOR_BACKGROUND="red" +POWERLEVEL9K_ROOT_INDICATOR_FOREGROUND="white" +POWERLEVEL9K_STATUS_OK_BACKGROUND="clear" +POWERLEVEL9K_STATUS_OK_FOREGROUND="green" +POWERLEVEL9K_STATUS_ERROR_BACKGROUND="clear" +POWERLEVEL9K_STATUS_ERROR_FOREGROUND="red" +POWERLEVEL9K_TIME_BACKGROUND="clear" +POWERLEVEL9K_TIME_FOREGROUND="cyan" +POWERLEVEL9K_COMMAND_EXECUTION_TIME_BACKGROUND='clear' +POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND='magenta' +POWERLEVEL9K_BACKGROUND_JOBS_BACKGROUND='clear' +POWERLEVEL9K_BACKGROUND_JOBS_FOREGROUND='green' + +ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=250" + +# Uncomment the following line to enable command auto-correction. +ENABLE_CORRECTION="true" + +# Uncomment the following line to display red dots whilst waiting for completion. +COMPLETION_WAITING_DOTS="true" + # start zgen if [ -f ~/.zgenrc ]; then source ~/.zgenrc @@ -181,53 +230,6 @@ _check-for-zsh-quickstart-update() { # unset QUICKSTART_KIT_REFRESH_IN_DAYS # fi -POWERLEVEL9K_MODE='nerdfont-complete' -#POWERLEVEL9K_SHORTEN_DIR_LENGTH=1 -#POWERLEVEL9K_SHORTEN_DELIMITER="" -#POWERLEVEL9K_SHORTEN_STRATEGY="truncate_from_right" -POWERLEVEL9K_PROMPT_ON_NEWLINE=true -POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR='' -POWERLEVEL9K_RIGHT_SEGMENT_SEPARATOR='' -POWERLEVEL9K_LEFT_SUBSEGMENT_SEPARATOR='' -POWERLEVEL9K_RIGHT_SUBSEGMENT_SEPARATOR='' -POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX="%F{blue}\u256D\u2500%F{white}" -POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="%F{blue}\u2570\uf460%F{white} " -POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(root_indicator dir dir_writable_joined) -POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(command_execution_time - vcs background_jobs_joined time_joined) -POWERLEVEL9K_VCS_MODIFIED_BACKGROUND="clear" -POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND="clear" -POWERLEVEL9K_VCS_MODIFIED_FOREGROUND="yellow" -POWERLEVEL9K_VCS_UNTRACKED_FOREGROUND="yellow" -POWERLEVEL9K_DIR_HOME_BACKGROUND="clear" -POWERLEVEL9K_DIR_HOME_FOREGROUND="blue" -POWERLEVEL9K_DIR_HOME_SUBFOLDER_BACKGROUND="clear" -POWERLEVEL9K_DIR_HOME_SUBFOLDER_FOREGROUND="blue" -POWERLEVEL9K_DIR_WRITABLE_FORBIDDEN_BACKGROUND="clear" -POWERLEVEL9K_DIR_WRITABLE_FORBIDDEN_FOREGROUND="red" -POWERLEVEL9K_DIR_DEFAULT_BACKGROUND="clear" -POWERLEVEL9K_DIR_DEFAULT_FOREGROUND="white" -POWERLEVEL9K_ROOT_INDICATOR_BACKGROUND="red" -POWERLEVEL9K_ROOT_INDICATOR_FOREGROUND="white" -POWERLEVEL9K_STATUS_OK_BACKGROUND="clear" -POWERLEVEL9K_STATUS_OK_FOREGROUND="green" -POWERLEVEL9K_STATUS_ERROR_BACKGROUND="clear" -POWERLEVEL9K_STATUS_ERROR_FOREGROUND="red" -POWERLEVEL9K_TIME_BACKGROUND="clear" -POWERLEVEL9K_TIME_FOREGROUND="cyan" -POWERLEVEL9K_COMMAND_EXECUTION_TIME_BACKGROUND='clear' -POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND='magenta' -POWERLEVEL9K_BACKGROUND_JOBS_BACKGROUND='clear' -POWERLEVEL9K_BACKGROUND_JOBS_FOREGROUND='green' - -ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=250" - -# Uncomment the following line to enable command auto-correction. -ENABLE_CORRECTION="true" - -# Uncomment the following line to display red dots whilst waiting for completion. -COMPLETION_WAITING_DOTS="true" - # You may need to manually set your language environment #export LANG=en_US.UTF-8