Added bashrc extension to users-formula

This will ensure a given bashrc file in a users home dir.
Default it will search for a bashrc in salt://users/files/bashrc/{{ username }}/bashrc
If no file is found it will install the default from
salt://users/files/bashrc/bashrc
This commit is contained in:
Niels Abspoel
2015-06-10 21:40:52 +02:00
parent 69a4d981f3
commit 29ce431151
2 changed files with 35 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#
# ~/.bashrc
#
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '