diff options
| author | 2026-05-20 13:56:09 +0100 | |
|---|---|---|
| committer | 2026-05-20 13:56:09 +0100 | |
| commit | 1f7215ebdcfed2ccdb63abf0e3561d50e719fc63 (patch) | |
| tree | 8437017c4a8df83e3529b02a3e0add99ef3a92af /dot_config | |
| parent | de5146c7976e1fb38e8d1f82c30544462d881100 (diff) | |
| download | dotfiles-1f7215ebdcfed2ccdb63abf0e3561d50e719fc63.tar.gz dotfiles-1f7215ebdcfed2ccdb63abf0e3561d50e719fc63.tar.bz2 dotfiles-1f7215ebdcfed2ccdb63abf0e3561d50e719fc63.zip | |
feat(zsh): prepend ~/.nix-profile/bin to PATH
So Home-Manager-provisioned tools shadow pacman/apt across host and VM,
delivering identical tool versions from the same flake.lock. Mason bin
stays for now; phase p6 of the nix migration removes it together with
the Mason plugins.
Phase 3 of the nix-on-host migration plan.
Diffstat (limited to 'dot_config')
| -rw-r--r-- | dot_config/zsh/dot_zprofile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dot_config/zsh/dot_zprofile b/dot_config/zsh/dot_zprofile index c02d15a..12b40fb 100644 --- a/dot_config/zsh/dot_zprofile +++ b/dot_config/zsh/dot_zprofile @@ -8,7 +8,12 @@ __ZPROFILE_SOURCED=1 # ── PATH ────────────────────────────────────────────────────────────────────── typeset -U path # deduplicate PATH entries # shellcheck disable=SC2206 # zsh tied array; no word-splitting concerns -path=("$HOME/.local/bin" "$HOME/.local/share/nvim/mason/bin" $path) +# Order: nix-profile (Home-Manager-provisioned tools) wins over the system +# package manager so the same HM flake delivers the same tool versions on +# both host (Arch) and VM (Ubuntu). ~/.local/bin keeps room for ad-hoc +# user scripts; mason bin stays during the Mason→nix transition (phase p6 +# of the nix migration removes it). +path=("$HOME/.nix-profile/bin" "$HOME/.local/bin" "$HOME/.local/share/nvim/mason/bin" $path) # ── XDG Base Directories ───────────────────────────────────────────────────── export XDG_CONFIG_HOME="$HOME/.config" |
