dotfiles/.zshrc
2023-01-19 10:41:45 +01:00

49 lines
1.2 KiB
Bash

# explicitly set the language, *before* antigen gets loaded
export LANG=de_DE.UTF-8
export PAPERSIZE=a4
export LANGUAGE=de:en
# export ANTIGEN_LOG=$HOME/antigen.log
# export ANTIGEN_DEBUG_LOG=$HOME/antigen.debug.log
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://gitlab.com/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
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