From 3eec309681ecab70a5c5b951616492f3df3634db Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sat, 8 Nov 2025 09:38:56 -0600 Subject: feat: add zoxide smart directory navigation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add zoxide installation and configuration to archsetup: - Install zoxide via pacman in Developer Workstation section - Create .profile.d/zoxide.sh with zsh initialization - Alias cd to z for smart directory jumping based on usage patterns This enables automatic directory navigation learning across all fresh Arch installs. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- archsetup | 1 + dotfiles/system/.profile.d/zoxide.sh | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 dotfiles/system/.profile.d/zoxide.sh diff --git a/archsetup b/archsetup index 788d897..2cbd767 100755 --- a/archsetup +++ b/archsetup @@ -765,6 +765,7 @@ developer_workstation () { pacman_install meld # Visual diff pacman_install ripgrep # Fast grep utility aur_install the_silver_searcher # Another fast grep utility + pacman_install zoxide # Smart cd command that learns your habits action="Programming Editors" && display "subtitle" "$action" pacman_install mg # mini emacs diff --git a/dotfiles/system/.profile.d/zoxide.sh b/dotfiles/system/.profile.d/zoxide.sh new file mode 100644 index 0000000..a748043 --- /dev/null +++ b/dotfiles/system/.profile.d/zoxide.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +# zoxide.sh +# Craig Jennings +# zoxide initialization, sourced by .profile + +# Initialize zoxide for zsh +eval "$(zoxide init zsh)" + +# Alias cd to use zoxide +alias cd="z" -- cgit v1.2.3