From d5eb16c4ab4349366b8569ea61ef6bfcc205df79 Mon Sep 17 00:00:00 2001 From: Jeffrey Date: Wed, 5 Aug 2026 17:08:38 +0800 Subject: [PATCH] feat(zshrc): default j=z alias and 30-day omz update interval zoxide is part of the base install; a short j jump alias matches common muscle memory. Refresh omz on a monthly cadence instead of the bi-weekly default. --- .zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.zshrc b/.zshrc index 380dc5f..568a6af 100644 --- a/.zshrc +++ b/.zshrc @@ -38,6 +38,9 @@ fi # Uncomment the following line to disable bi-weekly auto-update checks. # DISABLE_AUTO_UPDATE="true" +# How often to auto-update (days). Replaces the older UPDATE_ZSH_DAYS variable. +zstyle ':omz:update' frequency 30 + # Uncomment the following line to change how often to auto-update (in days). # export UPDATE_ZSH_DAYS=13 @@ -286,5 +289,7 @@ export FZF_DEFAULT_OPS="--extended" # Initialize zoxide (smarter cd command) command -v zoxide &> /dev/null && eval "$(zoxide init zsh)" +# Short jump alias; expands at use time after zoxide defines `z`. +alias j="z" alias k="k -h" # show human readable file sizes, in kb, mb etc