mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2025-01-31 00:58:17 +01:00
39 lines
643 B
Bash
39 lines
643 B
Bash
[[ -n "$NOTHING_FANCY" ]] && return
|
|
|
|
# Annexes
|
|
zinit::setup-annexes
|
|
|
|
# Setup keys
|
|
zinit::setup-keys
|
|
|
|
# Aliases
|
|
alias ls="ls --color=auto"
|
|
alias vim="nvim"
|
|
alias re-init="source /init.zsh"
|
|
|
|
# History
|
|
HISTFILE=${HOME}/.local/share/zsh/history
|
|
HISTSIZE=1000
|
|
SAVEHIST=1000
|
|
setopt extended_history
|
|
setopt hist_expire_dups_first
|
|
setopt hist_ignore_dups
|
|
setopt hist_ignore_space
|
|
setopt hist_verify
|
|
setopt share_history
|
|
|
|
mkdir -p ${HISTFILE:A:h}
|
|
|
|
# Completions
|
|
autoload -Uz compinit
|
|
compinit
|
|
zinit cdreplay -q
|
|
|
|
# Local Variables:
|
|
# mode: Shell-Script
|
|
# sh-indentation: 2
|
|
# indent-tabs-mode: nil
|
|
# sh-basic-offset: 2
|
|
# End:
|
|
# vim: ft=zsh sw=2 ts=2 et
|
|
|