diff options
| author | Craig Jennings <c@cjennings.net> | 2025-11-08 09:38:56 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2025-11-08 09:38:56 -0600 |
| commit | 3eec309681ecab70a5c5b951616492f3df3634db (patch) | |
| tree | d90ad5df8f1ac25570f8366064a0df1e2c6614e2 | |
| parent | fed9a212294a46c3e5afb50d69dfaadefb17c0ae (diff) | |
feat: add zoxide smart directory navigation
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 <noreply@anthropic.com>
| -rwxr-xr-x | archsetup | 1 | ||||
| -rw-r--r-- | dotfiles/system/.profile.d/zoxide.sh | 11 |
2 files changed, 12 insertions, 0 deletions
@@ -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 <c@cjennings.net> +# zoxide initialization, sourced by .profile + +# Initialize zoxide for zsh +eval "$(zoxide init zsh)" + +# Alias cd to use zoxide +alias cd="z" |
