dotfiles/.zshrc

49 lines
1.3 KiB
Bash
Raw Normal View History

if [ -d /usr/lib/systemd/system-environment-generators ];
then
run-parts /usr/lib/systemd/user-environment-generators | grep -v '#' | grep -v '^ $' | while read cur_env; do export ${cur_env}; done
else
cat $HOME/.config/environment.d/* | grep -v '#' | grep -v '^$' | while read cur_env; do export "${cur_env}"; done
fi
2022-05-31 18:42:00 +02:00
2022-09-21 07:03:50 +02:00
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
2023-01-18 09:51:51 +01:00
zstyle :omz:plugins:ssh-agent agent-forwarding yes
zstyle :omz:plugins:ssh-agent lazy yes
zstyle :omz:plugins:ssh-agent lifetime 8h
2018-01-29 16:49:12 +01:00
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
2023-01-18 09:51:51 +01:00
ssh-agent
2018-01-29 16:49:12 +01:00
common-aliases
2018-11-14 04:29:31 +01:00
MichaelAquilina/zsh-you-should-use
2020-03-24 20:49:36 +01:00
svenXY/timewarrior
voronkovich/gitignore.plugin.zsh
zlsun/solarized-man
2021-02-23 08:37:21 +01:00
https://gitlab.com/schtobia/zsh
2018-01-29 16:49:12 +01:00
$HOME/.local/lib/zsh/custom-zsh
zsh-users/zsh-autosuggestions
zsh-users/zsh-completions
zsh-users/zsh-syntax-highlighting
2018-01-29 16:49:12 +01:00
EOBUNDLES
antigen theme gallifrey
antigen apply
2022-09-21 07:14:29 +02:00
hash direnv &> /dev/null && eval "$(direnv hook zsh)"
2023-01-18 07:15:43 +01:00
chpwd() { exa }
ZSH_AUTOSUGGEST_STRATEGY=match_prev_cmd
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=10'
bindkey '^ ' autosuggest-accept