diff --git a/.zshrc b/.zshrc index f7c5e1e..1e7a97e 100644 --- a/.zshrc +++ b/.zshrc @@ -21,7 +21,7 @@ if [[ "$INSIDE_EMACS" = 'vterm' ]]; then fi if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then - source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" + source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" fi setopt no_share_history @@ -43,12 +43,18 @@ export TERM=xterm-256color # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes ZSH_THEME="powerlevel10k/powerlevel10k" + +# Auto update settings +export UPDATE_ZSH_DAYS=1 +export ZSH_CUSTOM_AUTOUPDATE_QUIET=true + plugins=(git zsh-autosuggestions nvm zsh-z zsh-syntax-highlighting mvn sudo docker docker-compose zsh-completions common-aliases alias-tips fzf zsh-fzf-history-search - emacs) + emacs + autoupdate) source $ZSH/oh-my-zsh.sh source ~/.aliasrc.sh diff --git a/install.sh b/install.sh index 825d41b..e47e114 100755 --- a/install.sh +++ b/install.sh @@ -13,6 +13,7 @@ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM: git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions git clone https://github.com/djui/alias-tips.git ${ZSH_CUSTOM:-$ZSH/custom}/plugins/alias-tips git clone https://github.com/joshskidmore/zsh-fzf-history-search ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-fzf-history-search +git clone https://github.com/TamCore/autoupdate-oh-my-zsh-plugins ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/autoupdate # tmux git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm