Browse Source

fix merge conflicts (again)

master
xenua 3 years ago
parent
commit
6f04fb8da8
Signed by: xenua
GPG Key ID: 8F93B68BD37255B8
  1. 65
      runcoms/zpreztorc
  2. 10
      runcoms/zprofile
  3. 4
      runcoms/zshrc

65
runcoms/zpreztorc

@ -12,6 +12,9 @@
# Set case-sensitivity for completion, history lookup, etc. # Set case-sensitivity for completion, history lookup, etc.
# zstyle ':prezto:*:*' case-sensitive 'yes' # zstyle ':prezto:*:*' case-sensitive 'yes'
# Automatically rehash
zstyle ':completion:*' rehash true
# Color output (auto set to 'no' on dumb terminals). # Color output (auto set to 'no' on dumb terminals).
zstyle ':prezto:*:*' color 'yes' zstyle ':prezto:*:*' color 'yes'
@ -38,15 +41,17 @@ zstyle ':prezto:load' pmodule \
'spectrum' \ 'spectrum' \
'utility' \ 'utility' \
'completion' \ 'completion' \
'syntax-highlighting' \
'history-substring-search' \ 'history-substring-search' \
'prompt' 'prompt' \
'git'
# #
# Autosuggestions # Autosuggestions
# #
# Set the query found color. # Set the query found color.
# zstyle ':prezto:module:autosuggestions:color' found '' zstyle ':prezto:module:autosuggestions:color' found ''
# #
# Completions # Completions
@ -64,10 +69,10 @@ zstyle ':prezto:load' pmodule \
zstyle ':prezto:module:editor' key-bindings 'emacs' zstyle ':prezto:module:editor' key-bindings 'emacs'
# Auto convert .... to ../.. # Auto convert .... to ../..
# zstyle ':prezto:module:editor' dot-expansion 'yes' zstyle ':prezto:module:editor' dot-expansion 'yes'
# Allow the zsh prompt context to be shown. # Allow the zsh prompt context to be shown.
#zstyle ':prezto:module:editor' ps-context 'yes' zstyle ':prezto:module:editor' ps-context 'yes'
# #
# Git # Git
@ -101,13 +106,13 @@ zstyle ':prezto:module:editor' key-bindings 'emacs'
# #
# Set the query found color. # Set the query found color.
# zstyle ':prezto:module:history-substring-search:color' found '' zstyle ':prezto:module:history-substring-search:color' found ''
# Set the query not found color. # Set the query not found color.
# zstyle ':prezto:module:history-substring-search:color' not-found '' zstyle ':prezto:module:history-substring-search:color' not-found ''
# Set the search globbing flags. # Set the search globbing flags.
# zstyle ':prezto:module:history-substring-search' globbing-flags '' zstyle ':prezto:module:history-substring-search' globbing-flags ''
# #
# macOS # macOS
@ -130,23 +135,23 @@ zstyle ':prezto:module:editor' key-bindings 'emacs'
# Set the prompt theme to load. # Set the prompt theme to load.
# Setting it to 'random' loads a random theme. # Setting it to 'random' loads a random theme.
# Auto set to 'off' on dumb terminals. # Auto set to 'off' on dumb terminals.
zstyle ':prezto:module:prompt' theme 'sorin' zstyle ':prezto:module:prompt' theme 'skwp'
# Set the working directory prompt display length. # Set the working directory prompt display length.
# By default, it is set to 'short'. Set it to 'long' (without '~' expansion) # By default, it is set to 'short'. Set it to 'long' (without '~' expansion)
# for longer or 'full' (with '~' expansion) for even longer prompt display. # for longer or 'full' (with '~' expansion) for even longer prompt display.
# zstyle ':prezto:module:prompt' pwd-length 'short' zstyle ':prezto:module:prompt' pwd-length 'long'
# Set the prompt to display the return code along with an indicator for non-zero # Set the prompt to display the return code along with an indicator for non-zero
# return codes. This is not supported by all prompts. # return codes. This is not supported by all prompts.
# zstyle ':prezto:module:prompt' show-return-val 'yes' zstyle ':prezto:module:prompt' show-return-val 'yes'
# #
# Python # Python
# #
# Auto switch the Python virtualenv on directory change. # Auto switch the Python virtualenv on directory change.
# zstyle ':prezto:module:python:virtualenv' auto-switch 'yes' zstyle ':prezto:module:python:virtualenv' auto-switch 'yes'
# Automatically initialize virtualenvwrapper if pre-requisites are met. # Automatically initialize virtualenvwrapper if pre-requisites are met.
# zstyle ':prezto:module:python:virtualenv' initialize 'yes' # zstyle ':prezto:module:python:virtualenv' initialize 'yes'
@ -181,36 +186,36 @@ zstyle ':prezto:module:prompt' theme 'sorin'
# Set syntax highlighters. # Set syntax highlighters.
# By default, only the main highlighter is enabled. # By default, only the main highlighter is enabled.
# zstyle ':prezto:module:syntax-highlighting' highlighters \ zstyle ':prezto:module:syntax-highlighting' highlighters \
# 'main' \ 'main' \
# 'brackets' \ 'brackets' \
# 'pattern' \ 'pattern' \
# 'line' \ 'line' \
# 'cursor' \ 'cursor' \
# 'root' 'root'
#
# Set syntax highlighting styles. # Set syntax highlighting styles.
# zstyle ':prezto:module:syntax-highlighting' styles \ zstyle ':prezto:module:syntax-highlighting' styles \
# 'builtin' 'bg=blue' \ 'builtin' 'fg=blue' \
# 'command' 'bg=blue' \ 'command' 'fg=green' \
# 'function' 'bg=blue' 'function' 'fg=yellow'
#
# Set syntax pattern styles. # Set syntax pattern styles.
# zstyle ':prezto:module:syntax-highlighting' pattern \ zstyle ':prezto:module:syntax-highlighting' pattern \
# 'rm*-rf*' 'fg=white,bold,bg=red' 'rm*-rf*' 'fg=white,bold,bg=red'
# #
# Terminal # Terminal
# #
# Auto set the tab and window titles. # Auto set the tab and window titles.
# zstyle ':prezto:module:terminal' auto-title 'yes' zstyle ':prezto:module:terminal' auto-title 'yes'
# Set the window title format. # Set the window title format.
# zstyle ':prezto:module:terminal:window-title' format '%n@%m: %s' zstyle ':prezto:module:terminal:window-title' format '%n@%m: %s'
# Set the tab title format. # Set the tab title format.
# zstyle ':prezto:module:terminal:tab-title' format '%m: %s' zstyle ':prezto:module:terminal:tab-title' format '%m: %s'
# Set the terminal multiplexer title format. # Set the terminal multiplexer title format.
# zstyle ':prezto:module:terminal:multiplexer-title' format '%s' # zstyle ':prezto:module:terminal:multiplexer-title' format '%s'
@ -238,4 +243,4 @@ zstyle ':prezto:module:prompt' theme 'sorin'
# Enabled safe options. This aliases cp, ln, mv and rm so that they prompt # Enabled safe options. This aliases cp, ln, mv and rm so that they prompt
# before deleting or overwriting files. Set to 'no' to disable this safer # before deleting or overwriting files. Set to 'no' to disable this safer
# behavior. # behavior.
# zstyle ':prezto:module:utility' safe-ops 'yes' zstyle ':prezto:module:utility' safe-ops 'no'

10
runcoms/zprofile

@ -17,15 +17,9 @@ fi
# Editors # Editors
# #
if [[ -z "$EDITOR" ]]; then export EDITOR='nvim'
export EDITOR='nano' export VISUAL='nvim'
fi
if [[ -z "$VISUAL" ]]; then
export VISUAL='nano'
fi
if [[ -z "$PAGER" ]]; then
export PAGER='less' export PAGER='less'
fi
# #
# Language # Language

4
runcoms/zshrc

@ -11,3 +11,7 @@ if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
fi fi
# Customize to your needs... # Customize to your needs...
function mkcd() { mkdir $1 && cd $1 };
alias vim=nvim

Loading…
Cancel
Save