mirror of
https://github.com/saltstack-formulas/users-formula.git
synced 2026-10-02 22:01:49 +02:00
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:
1 parent
69a4d981f3
commit
29ce431151
2 files changed
+35
No files matched your search
@@ -0,0 +1,9 @@
|
||||
#
|
||||
# ~/.bashrc
|
||||
#
|
||||
#
|
||||
# If not running interactively, don't do anything
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
alias ls='ls --color=auto'
|
||||
PS1='[\u@\h \W]\$ '
|
||||
Reference in new issue
Block a user