Simplify tasks by moving let over to vimrc.local, also fix Debian
This commit is contained in:
parent
4868144e69
commit
ca09628ea8
@ -1,3 +1,5 @@
|
||||
let skip_defaults_vim=1
|
||||
|
||||
" -- General Settings
|
||||
set mouse-=a " No mouse, see https://github.com/vim/vim/issues/12621
|
||||
set encoding=utf-8 " Necessary to show Unicode glyphs
|
||||
|
@ -13,6 +13,13 @@
|
||||
- /etc/skel
|
||||
- /root
|
||||
|
||||
- name: Ensure Arch Linux sources bash_aliases
|
||||
lineinfile:
|
||||
path: /root/.bashrc
|
||||
line: '[ -f ~/.bash_aliases ] && source ~/.bash_aliases'
|
||||
create: yes
|
||||
when: ansible_os_family == 'Archlinux'
|
||||
|
||||
- name: Copy shell configuration
|
||||
ansible.builtin.copy:
|
||||
src: inputrc
|
||||
|
@ -19,7 +19,6 @@
|
||||
path: /etc/vimrc
|
||||
marker: '" {mark} ANSIBLE MANAGED BLOCK'
|
||||
block: |
|
||||
let skip_defaults_vim=1
|
||||
set runtimepath+=/var/lib/vim/addons
|
||||
if filereadable("/etc/vimrc.local")
|
||||
source /etc/vimrc.local
|
||||
|
Loading…
Reference in New Issue
Block a user