|
@@ -5,7 +5,7 @@ Description=append home directory paths to PATH environment variable |
|
|
|
|
|
|
|
|
[Service] |
|
|
[Service] |
|
|
Type=oneshot |
|
|
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] |
|
|
[Install] |
|
|
WantedBy=default.target |
|
|
WantedBy=default.target |