dotfiles/.zshrc

43 lines
1,014 B
Bash

setopt HIST_EXPIRE_DUPS_FIRST
setopt HIST_IGNORE_DUPS
setopt HIST_IGNORE_ALL_DUPS
setopt HIST_IGNORE_SPACE
setopt HIST_FIND_NO_DUPS
setopt HIST_SAVE_NO_DUPS
zstyle :omz:plugins:ssh-agent agent-forwarding yes
zstyle :omz:plugins:ssh-agent lazy yes
zstyle :omz:plugins:ssh-agent lifetime 8h
source $HOME/.local/lib/zsh/antigen/bin/antigen.zsh
antigen use oh-my-zsh
antigen bundles <<EOBUNDLES
git
git-extras
tmux
command-not-found
debian
gpg-agent
pip
ssh-agent
common-aliases
MichaelAquilina/zsh-you-should-use
svenXY/timewarrior
voronkovich/gitignore.plugin.zsh
zlsun/solarized-man
https://git.schmidl.dev/schtobia/zsh
$HOME/.local/lib/zsh/custom-zsh
zsh-users/zsh-autosuggestions
zsh-users/zsh-completions
zsh-users/zsh-syntax-highlighting
EOBUNDLES
antigen theme gallifrey
antigen apply
source "$HOME/.local/bin/generate-env"
hash direnv &> /dev/null && eval "$(direnv hook zsh)"
chpwd() { exa }
ZSH_AUTOSUGGEST_STRATEGY=match_prev_cmd
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=10'
bindkey '^ ' autosuggest-accept