mirror of
https://github.com/roles-ansible/ansible_role_dotfiles.git
synced 2024-08-16 16:09:49 +02:00
Improve bash dotfile
This commit is contained in:
parent
f22e4b7139
commit
06a76f8b28
3 changed files with 30 additions and 5 deletions
15
README.md
15
README.md
|
@ -1,5 +1,6 @@
|
|||
# role_dotfiles
|
||||
Ansible role to deploy some dotfiles
|
||||
dotfiles
|
||||
==========
|
||||
Ansible role to deploy some dotfiles which may be useful
|
||||
|
||||
Affected files:
|
||||
```ini
|
||||
|
@ -8,8 +9,18 @@ Affected files:
|
|||
.vimrc
|
||||
```
|
||||
needed vars:
|
||||
---------------
|
||||
```ini
|
||||
# list all admins
|
||||
admins:
|
||||
- l3d
|
||||
```
|
||||
|
||||
Optional config:
|
||||
-----------------
|
||||
```ini
|
||||
# optional .bashrc commands
|
||||
bash:
|
||||
bashrc: 'alias l="ls -all"'
|
||||
```
|
||||
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
---
|
||||
|
||||
admins:
|
||||
- l3d
|
||||
bash:
|
||||
bashrc: ''
|
||||
|
|
|
@ -95,4 +95,20 @@ if [ -z "$BASHRCSOURCED" ]; then
|
|||
fi
|
||||
|
||||
fi
|
||||
alias ls='ls --color=auto'
|
||||
alias dir='dir --color=auto'
|
||||
alias vdir='vdir --color=auto'
|
||||
|
||||
alias grep='grep --color=auto'
|
||||
alias fgrep='fgrep --color=auto'
|
||||
alias egrep='egrep --color=auto'
|
||||
|
||||
# colored GCC warnings and errors
|
||||
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
||||
|
||||
# some more ls aliases
|
||||
alias ll='ls -la'
|
||||
alias la='ls -A'
|
||||
alias l='ls -CF'
|
||||
|
||||
# vim:ts=4:sw=4
|
||||
|
|
Loading…
Reference in a new issue