diff --git a/home/.chezmoiexternal.toml b/home/.chezmoiexternal.toml new file mode 100644 index 0000000..dbc6ad0 --- /dev/null +++ b/home/.chezmoiexternal.toml @@ -0,0 +1,27 @@ +[".oh-my-zsh"] + type = "archive" + url = "https://github.com/ohmyzsh/ohmyzsh/archive/master.tar.gz" + exact = true + stripComponents = 1 + refreshPeriod = "168h" + +[".oh-my-zsh/custom/themes/powerlevel10k"] + type = "archive" + url = "https://github.com/romkatv/powerlevel10k/archive/v1.15.0.tar.gz" + exact = true + stripComponents = 1 + refreshPeriod = "168h" + +[".oh-my-zsh/custom/plugins/zsh-autosuggestions"] + type = "archive" + url = "https://github.com/zsh-users/zsh-autosuggestions/archive/master.tar.gz" + exact = true + stripComponents = 1 + refreshPeriod = "168h" + +[".oh-my-zsh/custom/plugins/F-Sy-H"] + type = "archive" + url = "https://github.com/z-shell/F-Sy-H/archive/master.tar.gz" + exact = true + stripComponents = 1 + refreshPeriod = "168h" \ No newline at end of file diff --git a/home/dot_zshrc.tmpl b/home/dot_zshrc.tmpl index b0c4f70..085ed9a 100644 --- a/home/dot_zshrc.tmpl +++ b/home/dot_zshrc.tmpl @@ -9,9 +9,10 @@ export ZSH="$HOME/.oh-my-zsh" # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes ZSH_THEME="powerlevel10k/powerlevel10k" -zstyle ':omz:update' mode auto # update automatically without asking -zstyle ':omz:update' frequency 7 +# zstyle ':omz:update' mode auto # update automatically without asking +# zstyle ':omz:update' frequency 7 +DISABLE_AUTO_UPDATE="true" # required for chezmoi external management # ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) # CASE_SENSITIVE="true" # HYPHEN_INSENSITIVE="true" @@ -23,7 +24,7 @@ zstyle ':omz:update' frequency 7 # DISABLE_UNTRACKED_FILES_DIRTY="true" # HIST_STAMPS="mm/dd/yyyy" -plugins=(git asdf yarn golang sudo zoxide bun node npm zsh-autosuggestions brew F-Sy-H) +plugins=(git asdf yarn golang sudo zoxide bun node npm brew zsh-autosuggestions F-Sy-H) source $ZSH/oh-my-zsh.sh [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh # configure with `p10k configure`