
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
10 lines
142 B
Bash
10 lines
142 B
Bash
#
|
|
# ~/.bashrc
|
|
#
|
|
#
|
|
# If not running interactively, don't do anything
|
|
[[ $- != *i* ]] && return
|
|
|
|
alias ls='ls --color=auto'
|
|
PS1='[\u@\h \W]\$ '
|