1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-10 21:11:50 +08:00

Optimize zsh

This commit is contained in:
Ryan 2023-12-13 14:04:24 +08:00
parent 4a6f6a0ad0
commit cba85e6295

9
.zshrc
View File

@ -30,9 +30,11 @@ zinit wait lucid for \
zinit ice wait lucid atinit"bindkey '' autosuggest-execute" atload'_zsh_autosuggest_start'
zinit light zsh-users/zsh-autosuggestions
zinit light zsh-users/zsh-history-substring-search
zinit light hlissner/zsh-autopair
zinit ice wait lucid
zinit load hlissner/zsh-autopair
zinit light zsh-users/zsh-completions
zinit light zsh-users/zsh-history-substring-search
# Software
zinit ice as"command" from"gh-r" mv"bat* -> bat" pick"bat/bat"
@ -122,9 +124,6 @@ export MANWIDTH=${MANWIDTH:-78}
export MANROFFOPT="-c"
export BAT_THEME="ansi"
# bat pager
alias -g -- --help='--help 2>&1 | bat --language=help --style=plain'
#local path
export PATH="${PATH}:${HOME}/.local/bin:${HOME}/.scripts:${HOME}/cargo/bin:${HOME}/.cache/go/bin:${HOME}/.local/share/nvim/mason/bin"
export MANPATH="${MANPATH}:${HOME}/.local/share/man"