Unverified Commit 3266f35f authored by Timothy DeHerrera's avatar Timothy DeHerrera Committed by GitHub
Browse files

Merge pull request #197503 from eigengrau/zsh-fpath-prefer-profiles

nixos/zsh: prefer added completions over completions shipped with Zsh
parents b39fd6e4 8dad5a22
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -184,7 +184,7 @@ in

        # Tell zsh how to find installed completions.
        for p in ''${(z)NIX_PROFILES}; do
            fpath+=($p/share/zsh/site-functions $p/share/zsh/$ZSH_VERSION/functions $p/share/zsh/vendor-completions)
            fpath=($p/share/zsh/site-functions $p/share/zsh/$ZSH_VERSION/functions $p/share/zsh/vendor-completions $fpath)
        done

        # Setup custom shell init stuff.