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. 12
      runcoms/zprofile
  3. 4
      runcoms/zshrc

65
runcoms/zpreztorc

@ -12,6 +12,9 @@ @@ -12,6 +12,9 @@
# Set case-sensitivity for completion, history lookup, etc.
# zstyle ':prezto:*:*' case-sensitive 'yes'
# Automatically rehash
zstyle ':completion:*' rehash true
# Color output (auto set to 'no' on dumb terminals).
zstyle ':prezto:*:*' color 'yes'
@ -38,15 +41,17 @@ zstyle ':prezto:load' pmodule \ @@ -38,15 +41,17 @@ zstyle ':prezto:load' pmodule \
'spectrum' \
'utility' \
'completion' \
'syntax-highlighting' \
'history-substring-search' \
'prompt'
'prompt' \
'git'
#
# Autosuggestions
#
# Set the query found color.
# zstyle ':prezto:module:autosuggestions:color' found ''
zstyle ':prezto:module:autosuggestions:color' found ''
#
# Completions
@ -64,10 +69,10 @@ zstyle ':prezto:load' pmodule \ @@ -64,10 +69,10 @@ zstyle ':prezto:load' pmodule \
zstyle ':prezto:module:editor' key-bindings 'emacs'
# 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.
#zstyle ':prezto:module:editor' ps-context 'yes'
zstyle ':prezto:module:editor' ps-context 'yes'
#
# Git
@ -101,13 +106,13 @@ zstyle ':prezto:module:editor' key-bindings 'emacs' @@ -101,13 +106,13 @@ zstyle ':prezto:module:editor' key-bindings 'emacs'
#
# 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.
# zstyle ':prezto:module:history-substring-search:color' not-found ''
zstyle ':prezto:module:history-substring-search:color' not-found ''
# Set the search globbing flags.
# zstyle ':prezto:module:history-substring-search' globbing-flags ''
zstyle ':prezto:module:history-substring-search' globbing-flags ''
#
# macOS
@ -130,23 +135,23 @@ zstyle ':prezto:module:editor' key-bindings 'emacs' @@ -130,23 +135,23 @@ zstyle ':prezto:module:editor' key-bindings 'emacs'
# Set the prompt theme to load.
# Setting it to 'random' loads a random theme.
# 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.
# By default, it is set to 'short'. Set it to 'long' (without '~' expansion)
# 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
# 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
#
# 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.
# zstyle ':prezto:module:python:virtualenv' initialize 'yes'
@ -181,36 +186,36 @@ zstyle ':prezto:module:prompt' theme 'sorin' @@ -181,36 +186,36 @@ zstyle ':prezto:module:prompt' theme 'sorin'
# Set syntax highlighters.
# By default, only the main highlighter is enabled.
# zstyle ':prezto:module:syntax-highlighting' highlighters \
# 'main' \
# 'brackets' \
# 'pattern' \
# 'line' \
# 'cursor' \
# 'root'
#
zstyle ':prezto:module:syntax-highlighting' highlighters \
'main' \
'brackets' \
'pattern' \
'line' \
'cursor' \
'root'
# Set syntax highlighting styles.
# zstyle ':prezto:module:syntax-highlighting' styles \
# 'builtin' 'bg=blue' \
# 'command' 'bg=blue' \
# 'function' 'bg=blue'
#
zstyle ':prezto:module:syntax-highlighting' styles \
'builtin' 'fg=blue' \
'command' 'fg=green' \
'function' 'fg=yellow'
# Set syntax pattern styles.
# zstyle ':prezto:module:syntax-highlighting' pattern \
# 'rm*-rf*' 'fg=white,bold,bg=red'
zstyle ':prezto:module:syntax-highlighting' pattern \
'rm*-rf*' 'fg=white,bold,bg=red'
#
# Terminal
#
# 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.
# 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.
# zstyle ':prezto:module:terminal:tab-title' format '%m: %s'
zstyle ':prezto:module:terminal:tab-title' format '%m: %s'
# Set the terminal multiplexer title format.
# zstyle ':prezto:module:terminal:multiplexer-title' format '%s'
@ -238,4 +243,4 @@ zstyle ':prezto:module:prompt' theme 'sorin' @@ -238,4 +243,4 @@ zstyle ':prezto:module:prompt' theme 'sorin'
# 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
# behavior.
# zstyle ':prezto:module:utility' safe-ops 'yes'
zstyle ':prezto:module:utility' safe-ops 'no'

12
runcoms/zprofile

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

4
runcoms/zshrc

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

Loading…
Cancel
Save