Selaa lähdekoodia

pathappend improvement

pull/1/head
vanhempi
commit
ddc42138b2
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      templates/path/pathappend.service.j2

+ 1
- 1
templates/path/pathappend.service.j2 Näytä tiedosto

@@ -5,7 +5,7 @@ Description=append home directory paths to PATH environment variable

[Service]
Type=oneshot
ExecStart=fish -c "set -x PATH ~/bin ~/.local/bin $PATH; systemctl --user import-environment PATH"
ExecStart=fish -c "for np in ~/.local/bin ~/bin; if not contains $np $PATH; set -x PATH $np $PATH; end; end; systemctl --user import-environment PATH"

[Install]
WantedBy=default.target