Add etc bashrc
This commit is contained in:
parent
376f3ecc24
commit
897c6f9cb6
1 changed files with 10 additions and 0 deletions
10
etc_bash_rc
Normal file
10
etc_bash_rc
Normal file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
# Set other bashrc files
|
||||
mkdir -p "/etc/bashrc.d"
|
||||
for bashrc_file in $(find /etc/bashrc.d -type f | sort | grep -v ~$)
|
||||
do
|
||||
if [ -n "${bashrc_file}" ]; then
|
||||
# shellcheck disable=SC1090
|
||||
source "${bashrc_file}"
|
||||
fi
|
||||
done
|
Loading…
Reference in a new issue