Extensions load rcfiles
This commit is contained in:
parent
8c289fea17
commit
d9acf4ff93
|
@ -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"
|
||||
|
|
7
config/automatrop/roles/extensions/templates/extrc.sh.j2
Normal file
7
config/automatrop/roles/extensions/templates/extrc.sh.j2
Normal 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 #}
|
0
config/shell/.dfrecur
Normal file
0
config/shell/.dfrecur
Normal file
|
@ -51,7 +51,3 @@ alias ll="_colored_ls"
|
|||
alias la="_colored_ls -a"
|
||||
|
||||
## FUNCTIONS
|
||||
|
||||
## MISC
|
||||
[ -f $HOME/.local/share/broot/launcher/bash/1 ] && . $HOME/.local/share/broot/launcher/bash/1
|
||||
trysource ~/.config/gscripts/gprofile
|
||||
|
|
|
@ -104,3 +104,6 @@ unset _i_prefer
|
|||
# Update TTY
|
||||
export GPG_TTY=$(tty)
|
||||
gpg-connect-agent updatestartuptty /bye >/dev/null
|
||||
|
||||
## EXTENSIONS
|
||||
trysource ~/.config/shell/extrc
|
||||
|
|
Loading…
Reference in a new issue