Explorar el Código

pathappend improvement

pull/1/head
padre
commit
ddc42138b2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      templates/path/pathappend.service.j2

+ 1
- 1
templates/path/pathappend.service.j2 Ver fichero

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