]> git.sev.monster Git - dotfiles.git/blobdiff - etc/zsh/.zshenv
zshenv: do not prefer /opt over system for path
[dotfiles.git] / etc / zsh / .zshenv
index 1bcc1f82e1f8797969cd3149dab1eb68c35e8895..f43343bb9256bd769767b9274192cfc0957a7b26 100644 (file)
@@ -63,7 +63,7 @@ function _sev_setpath {
     # XXX: XDG specifies ~/.local/bin as the only user-writable dir for
     #      executables, but we specify more; technically this is against spec
     local -a syspath=("$path[@]")
-    path=({{${_sev_home:-~},~}{/.local,},{$PREFIX,}{,/opt,/opt/*{/*,},/usr{,/local,/pkg}}}/{s,}bin(N)
+    path=({{${_sev_home:-~},~}{/.local,},{$PREFIX,}{,/usr{,/local,/pkg},/opt,/opt/*{/*,}}}/{s,}bin(N)
           {$PREFIX,}/usr/{X11R{7,6}/bin,games}
           # emulate Arch Linux flatpak-bindir.sh for use on other systems
           {${XDG_DATA_HOME:-~/.local/share},{$PREFIX,}/var/lib}/flatpak/exports/bin)
This page took 0.028811 seconds and 4 git commands to generate.