dotfiles/zsh/.config/zsh/.zshrc

45 lines
789 B
Bash
Raw Normal View History

2021-12-21 14:48:18 -05:00
export GPG_TTY=$(tty)
2021-12-21 13:19:10 -05:00
typeset -U PATH
source $ZDOTDIR/aliases
source $ZDOTDIR/functions
2023-08-27 09:53:54 -04:00
for source in $(ls $ZDOTDIR/sources); do
source $ZDOTDIR/sources/$source
done
2021-12-21 13:19:10 -05:00
source $ZDOTDIR/prompt
# Larger history
HISTSIZE=20000
HISTFILE=~/.zsh_history
SAVEHIST=20000
# be like vim
bindkey -v
2022-01-12 21:39:59 -05:00
setopt complete_in_word
2021-12-21 13:19:10 -05:00
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
setopt auto_cd
2024-02-15 16:36:40 -05:00
if which mise > /dev/null; then
eval "$(mise activate zsh)"
2023-01-06 09:11:37 -05:00
fi
2023-08-27 10:04:04 -04:00
if [ -f $HOME/.orbstack/shell/init.zsh ]; then
source $HOME/.orbstack/shell/init.zsh 2>/dev/null || :
fi
2022-01-18 09:18:30 -05:00
autoload compinit -Uz
setopt EXTENDEDGLOB
if [[ -n ${ZDOTDIR}/.zcompdump(#qN.m+1) ]]; then
2022-01-18 09:18:30 -05:00
compinit
else
compinit -C
fi
unsetopt EXTENDEDGLOB
2022-11-22 20:26:02 -05:00
[ -f $XDG_CONFIG_HOME/fzf/fzf.zsh ] && source $XDG_CONFIG_HOME/fzf/fzf.zsh