57 lines
1.9 KiB
Bash
57 lines
1.9 KiB
Bash
|
|
# The following lines were added by compinstall
|
|
|
|
zstyle ':completion:*' completer _expand _complete _ignored _correct _approximate
|
|
zstyle ':completion:*' list-colors ''
|
|
zstyle :compinstall filename '/home/minhradz/.zshrc'
|
|
|
|
autoload -Uz compinit
|
|
compinit
|
|
# End of lines added by compinstall
|
|
# Lines configured by zsh-newuser-install
|
|
HISTFILE=~/.histfile
|
|
HISTSIZE=1000
|
|
SAVEHIST=1000
|
|
# End of lines configured by zsh-newuser-install
|
|
|
|
export GPG_TTY=$(tty)
|
|
|
|
test -s ~/.alias && . ~/.alias || true
|
|
|
|
### Added by Zinit's installer
|
|
if [[ ! -f $HOME/.local/share/zinit/zinit.git/zinit.zsh ]]; then
|
|
print -P "%F{33} %F{220}Installing %F{33}ZDHARMA-CONTINUUM%F{220} Initiative Plugin Manager (%F{33}zdharma-continuum/zinit%F{220})…%f"
|
|
command mkdir -p "$HOME/.local/share/zinit" && command chmod g-rwX "$HOME/.local/share/zinit"
|
|
command git clone https://github.com/zdharma-continuum/zinit "$HOME/.local/share/zinit/zinit.git" && \
|
|
print -P "%F{33} %F{34}Installation successful.%f%b" || \
|
|
print -P "%F{160} The clone has failed.%f%b"
|
|
fi
|
|
|
|
source "$HOME/.local/share/zinit/zinit.git/zinit.zsh"
|
|
autoload -Uz _zinit
|
|
(( ${+_comps} )) && _comps[zinit]=_zinit
|
|
|
|
# Load a few important annexes, without Turbo
|
|
# (this is currently required for annexes)
|
|
zinit light-mode for \
|
|
zdharma-continuum/zinit-annex-as-monitor \
|
|
zdharma-continuum/zinit-annex-bin-gem-node \
|
|
zdharma-continuum/zinit-annex-patch-dl \
|
|
zdharma-continuum/zinit-annex-rust
|
|
|
|
### End of Zinit's installer chunk
|
|
|
|
# zsh-fzf-history-search
|
|
zinit ice lucid wait'0'
|
|
zinit light joshskidmore/zsh-fzf-history-search
|
|
|
|
# Two regular plugins loaded without investigating.
|
|
zinit light zsh-users/zsh-autosuggestions
|
|
zinit light zdharma-continuum/fast-syntax-highlighting
|
|
zinit light chitoku-k/fzf-zsh-completions
|
|
zinit light greymd/docker-zsh-completion
|
|
|
|
eval "$(fnm env --use-on-cd)"
|
|
|
|
eval "$(starship init zsh)"
|