]> git.immae.eu Git - perso/Immae/Config/Ansible.git/blob - roles/shell/bash/tasks/main.yml
Make bash xdg-compliant
[perso/Immae/Config/Ansible.git] / roles / shell / bash / tasks / main.yml
1 ---
2 - name: Create config dir
3 file:
4 path: $XDG_CONFIG_HOME/bash
5 state: directory
6 - name: Add bashrc config
7 template:
8 src: bashrc.j2
9 dest: $XDG_CONFIG_HOME/bash/bashrc
10 - name: Add bash_profile config
11 template:
12 src: bash_profile.j2
13 dest: $XDG_CONFIG_HOME/bash/bash_profile
14 - name: Add inputrc config
15 copy:
16 src: inputrc
17 dest: $XDG_CONFIG_HOME/inputrc
18 - name: Create bash state dir
19 file:
20 path: $XDG_STATE_HOME/bash
21 state: directory
22 - name: Create less state dir
23 file:
24 path: $XDG_STATE_HOME/less
25 state: directory