Sfoglia il codice sorgente

pathappend improvement

pull/1/head
parent
commit
ddc42138b2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      templates/path/pathappend.service.j2

+ 1
- 1
templates/path/pathappend.service.j2 Vedi File

@@ -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