This repository has been archived on 2024-03-04. You can view files and clone it, but cannot push or open issues or pull requests.
linux/.linux/bash/bashrc.sh

19 lines
280 B
Bash
Raw Normal View History

2023-08-08 16:24:15 +03:00
#!/bin/bash
#home="/var/home/voronind"
2023-10-30 03:49:10 +03:00
home="${HOME}"
2023-10-30 04:00:01 +03:00
module="${home}/.linux/bash/module/*.sh"
2023-08-08 16:24:15 +03:00
# src default
if [[ -f /etc/bashrc ]]; then
source /etc/bashrc
fi
# src custom
2023-10-30 03:49:10 +03:00
for file in ${module}; do
source "${file}"
2023-08-08 16:24:15 +03:00
done
# alias to reload
alias bashrc="source ~/.bashrc"