-
Notifications
You must be signed in to change notification settings - Fork 20
/
quality_of_life.yml
35 lines (35 loc) · 1001 Bytes
/
quality_of_life.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
- hosts: all
become: true
tasks:
- name: Enable "ll" as an alias for "ls -lAh"
lineinfile:
path: /home/vagrant/.bashrc
line: alias ll='ls -lAh'
insertafter: "User specific aliases and functions"
- name: Install Powerline, an improved shell prompt
dnf:
name: powerline
state: present
- name: Set up Powerline
blockinfile:
path: /home/vagrant/.bashrc
block: |
## Enable Poweline, an improved shell prompt
if [ -f `which powerline-daemon` ]; then
powerline-daemon -q
POWERLINE_BASH_CONTINUATION=1
POWERLINE_BASH_SELECT=1
. /usr/share/powerline/bash/powerline.sh
fi
- name: Install vim-powerline
dnf:
name: vim-powerline
state: present
- name: Install .vimrc file
copy:
src: extras/.vimrc
dest: /home/vagrant/.vimrc
mode: 0644
owner: vagrant
group: vagrant