add modular bashrc

This commit is contained in:
Pim Kunis 2023-03-04 14:28:09 +01:00
parent 3391f67080
commit 04aba0d670
16 changed files with 49 additions and 21 deletions

View file

@ -0,0 +1,2 @@
[ -f ~/.asdf/asdf.sh ] && source ~/.asdf/asdf.sh
[ -f ~/.asdf/completions/asdf.bash ] && source ~/.asdf/completions/asdf.bash

View file

@ -1,2 +1,3 @@
dependencies:
- role: common
- role: bash

View file

@ -32,3 +32,7 @@
shell:
cmd: "~/.asdf/bin/asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git"
creates: ~/.asdf/plugins/elixir
- name: Copy asdf.bashrc
copy:
src: "{{ role_path }}/files/asdf.bashrc"
dest: ~/.bashrc.d/asdf.bashrc