19 lines
280 B
Bash
19 lines
280 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
#home="/var/home/voronind"
|
||
|
home="${HOME}"
|
||
|
module="${home}/.linux/bash/module/*.sh"
|
||
|
|
||
|
# src default
|
||
|
if [[ -f /etc/bashrc ]]; then
|
||
|
source /etc/bashrc
|
||
|
fi
|
||
|
|
||
|
# src custom
|
||
|
for file in ${module}; do
|
||
|
source "${file}"
|
||
|
done
|
||
|
|
||
|
# alias to reload
|
||
|
alias bashrc="source ~/.bashrc"
|