1
0
Эх сурвалжийг харах

nixpkgs/elvish: place PATH first

Thomas Dy 2 жил өмнө
parent
commit
4bddb43e8c

+ 1 - 1
.config/nixpkgs/elvish/flake.nix

@@ -57,7 +57,7 @@
         writeScriptBin "elvish" ''
         writeScriptBin "elvish" ''
           #!/bin/sh
           #!/bin/sh
           export XDG_DATA_DIRS="${config}:$XDG_DATA_DIRS"
           export XDG_DATA_DIRS="${config}:$XDG_DATA_DIRS"
-          export PATH="$PATH:${carapace-bin}/bin"
+          export PATH="${carapace-bin}/bin:$PATH"
           if [ -z "$KEYCTL_INIT" ]; then
           if [ -z "$KEYCTL_INIT" ]; then
             export KEYCTL_INIT=1
             export KEYCTL_INIT=1
             keyctl new_session >/dev/null
             keyctl new_session >/dev/null