Skip to content

Commit

Permalink
Minor refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Encephala committed Dec 19, 2023
1 parent a27c45d commit 0aae8fd
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions roles/provision/tasks/dotfiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,6 @@
group: "{{ gid }}"
mode: "0644"


- name: Git
block:
- name: Copy .gitconfig
ansible.builtin.copy:
src: git/dotgitconfig
dest: "{{ home }}/.gitconfig"
owner: "{{ uid }}"
group: "{{ gid }}"
mode: "0644"

- name: Git branch in PS1 - helper files
ansible.builtin.copy:
src: git/dotgit/
Expand All @@ -53,6 +42,15 @@
export PS1="\[\e[01;32m\A \[\e[01;34m\]\w\[\e[38;5;204m\]\$(__git_ps1)\n\[\e[01;32m\]>\[\e[00m\] "
export PS2="\[\e[38;5;204m\]>\[\e[00m\] "
- name: Copy .gitconfig
ansible.builtin.copy:
src: git/dotgitconfig
dest: "{{ home }}/.gitconfig"
owner: "{{ uid }}"
group: "{{ gid }}"
mode: "0644"

- name: Copy .lintr
ansible.builtin.copy:
src: R/dotlintr
Expand Down

0 comments on commit 0aae8fd

Please sign in to comment.