You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

pathappend.service.j2 313B

2 years ago
2 years ago
2 years ago
1234567891011
  1. {{ ansible_managed | comment }}
  2. [Unit]
  3. Description=append home directory paths to PATH environment variable
  4. [Service]
  5. Type=oneshot
  6. ExecStart=fish -c "for np in ~/.local/bin ~/bin; if not contains $np $PATH; set -p PATH $np; end; end; systemctl --user import-environment PATH"
  7. [Install]
  8. WantedBy=default.target