Skip to content

Commit

Permalink
Set vim as EDITOR
Browse files Browse the repository at this point in the history
  • Loading branch information
Encephala committed Jan 2, 2024
1 parent c0e8aad commit 38502ec
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions roles/provision/tasks/dotfiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@
export PS1="\[\e[01;32m\H \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: Set editor to vim
ansible.builtin.lineinfile:
path: "{{ home }}/.bashrc"
regexp: "^export EDITOR=*"
line: "export EDITOR=vim"


- name: Copy .gitconfig
ansible.builtin.copy:
Expand Down

0 comments on commit 38502ec

Please sign in to comment.