Extensions load rcfiles

This commit is contained in:
Geoffrey Frogeye 2021-06-23 22:17:51 +02:00
parent 8c289fea17
commit d9acf4ff93
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
5 changed files with 16 additions and 4 deletions

View file

@ -1,3 +1,9 @@
- include_role:
name: "geoffreyfrogeye.{{ item }}automatrop.entry"
loop: "{{ extensions }}"
- name: Configure extensions rc sourcing
template:
src: extrc.sh.j2
dest: "{{ ansible_user_dir }}/.config/shell/extrc"
mode: "u=rw,g=r,o=r"

View file

@ -0,0 +1,7 @@
#!/usr/bin/env bash
{% for extension in extensions %}
trysource ~/.config/{{ extension }}scripts/{{ extension }}profile
{% endfor %}
{# TODO Rename profile as rc, and add env #}
{# TODO Put in non-linked path #}