latest zshrc greatness

This commit is contained in:
surtur 2020-03-18 04:39:47 +01:00
parent 65eaee7c91
commit e395986247
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

View File

@ -3,7 +3,8 @@
source ~/.zplug/init.zsh
zplug "denysdovhan/spaceship-prompt", use:spaceship.zsh, from:github, as:theme
zplug "zsh-users/zsh-autosuggestions"
zplug "zsh-users/zsh-syntax-highlighting"
#zplug "zsh-users/zsh-syntax-highlighting"
zplug "zdharma/fast-syntax-highlighting"
zplug "zsh-users/zsh-history-substring-search"
zplug "plugins/git", from:oh-my-zsh
zplug "plugins/gitignore", from:oh-my-zsh
@ -19,7 +20,8 @@
fi
source ~/.zplug/repos/zsh-users/zsh-autosuggestions/zsh-autosuggestions.zsh
source ~/.zplug/repos/zsh-users/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
#source ~/.zplug/repos/zsh-users/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source ~/.zplug/repos/zdharma/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
source ~/.zplug/repos/zsh-users/zsh-history-substring-search/zsh-history-substring-search.zsh
source ~/.zplug/repos/robbyrussell/oh-my-zsh/plugins/git/git.plugin.zsh
source ~/.zplug/repos/robbyrussell/oh-my-zsh/plugins/gitignore/gitignore.plugin.zsh
@ -27,9 +29,9 @@
source ~/.zplug/repos/robbyrussell/oh-my-zsh/plugins/dnf/dnf.plugin.zsh
ZSH_THEME="spaceship"
SPACESHIP_PROMPT_ADD_NEWLINE=true
SPACESHIP_PROMPT_ADD_NEWLINE=false
SPACESHIP_PROMPT_SEPARATE_LINE=true
SPACESHIP_TIME_SHOW=true
SPACESHIP_TIME_SHOW=false
SPACESHIP_TIME_COLOR=white
SPACESHIP_DIR_PREFIX=
@ -114,11 +116,15 @@
# Add wisely, as too many plugins slow down shell startup.
plugins=(
safe-paste
docker
yarn
)
source $ZSH/oh-my-zsh.sh
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern)
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets pattern cursor)
ZSH_AUTOSUGGEST_STRATEGY=(history)
ZSH_AUTOSUGGEST_USE_ASYNC=
# map Del escape sequence to actual Del key in all (n,i) modes to resemble vim instead of vi
bindkey -a '^[[3~' delete-char
@ -129,7 +135,7 @@
# User configuration
# export MANPATH="/usr/local/man:$MANPATH"
export PATH="$PATH:$HOME/.local/bin:$HOME/utils/bin"
export PATH="$HOME/.local/bin:$HOME/utils/bin:$PATH"
# You may need to manually set your language environment
export LANG=en_GB.UTF-8