config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit 056d4770fd553b2c14cc229b7e6de843e9cf058b
parent 1d823642a44225b7fb171670dc940f5042e07765
Author: jacobsGit <JacobDoesLinux@protonmail.com>
Date:   Tue, 12 Nov 2019 18:28:39 -0800

refined and now has folding for vim

Diffstat:
Mzsh/.zshrc | 67+++++++++++++++++++++++++++++++++----------------------------------
1 file changed, 33 insertions(+), 34 deletions(-)

diff --git a/zsh/.zshrc b/zsh/.zshrc @@ -1,27 +1,35 @@ -# history -HISTFILE=~/.histfile -HISTSIZE=5000 -SAVEHIST=1000 - - -bindkey -v - +# vim: foldmethod=marker - -# completion +#> completion {{{ +autoload autoload -Uz compinit zmodload zsh/complist zstyle :compinstall filename '/home/jacob/.zshrc' - zstyle ':completion:*' menu select - bindkey -M menuselect '^[[Z' reverse-menu-complete - setopt COMPLETE_ALIASES +zstyle ':completion:*' menu select +bindkey -M menuselect '^[[Z' reverse-menu-complete +setopt COMPLETE_ALIASES compinit +# }}} +#>includes {{{ +[[ -f ~/.shell-alias ]] && . ~/.shell-alias +export PATH=$HOME/bin:$PATH +export PATH=$HOME/.xmobar/scripts:$PATH +export EDITOR='vim' +# }}} -# syntax hightlighting +#>keys {{{ +bindkey -v + +bindkey "^[[1;5C" forward-word #crtl+left +bindkey "^[[1;5D" backward-word #crtl+rigth +# }}} + + #>syntax hightlighting {{{ source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh + ZSH_HIGHLIGHT_STYLES[suffix-alias]=fg=cyan,underline ZSH_HIGHLIGHT_STYLES[precommand]=fg=cyan,underline ZSH_HIGHLIGHT_STYLES[arg0]=fg=cyan @@ -35,28 +43,19 @@ ZSH_HIGHLIGHT_PATTERNS=('sudo' 'fg=white,bold') zstyle ':completion:*:*:cd:*:*' list-colors zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} -# Functions -example() { -printf "this is an example\n" - -} - - - -# History +# }}} +#>history {{{ +HISTFILE=~/.histfile +HISTSIZE=5000 +SAVEHIST=1000 +# }}} -# prompt -PROMPT=' -%?────%F{109} %~%F{237}%f -└── %F{103}»%f' - +#>prompt {{{ RPROMPT='%F{236}%T %F{237}%n@%M%f' - -# Finishing up -[[ -f ~/.shell-alias ]] && . ~/.shell-alias - -export PATH=$HOME/bin:$HOME/.xmobar/scripts/:$PATH -export EDITOR='vim' +PROMPT=' +%?%F{1}────%f%F{109} %~%F{237}%f +%F{1}└──%f' +# }}}