2004-09-09 03:25:10 +00:00
|
|
|
# .bashrc
|
|
|
|
|
2017-10-30 13:48:42 +00:00
|
|
|
# Source global definitions
|
|
|
|
if [ -f /etc/bashrc ]; then
|
2022-11-06 21:32:16 +00:00
|
|
|
. /etc/bashrc
|
2017-10-30 13:48:42 +00:00
|
|
|
fi
|
|
|
|
|
2018-09-10 13:55:43 +00:00
|
|
|
# User specific environment
|
2022-11-06 21:32:16 +00:00
|
|
|
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]; then
|
2019-01-10 09:06:23 +00:00
|
|
|
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
|
|
|
|
fi
|
2018-09-10 13:55:43 +00:00
|
|
|
export PATH
|
|
|
|
|
2013-08-09 12:01:32 +00:00
|
|
|
# Uncomment the following line if you don't like systemctl's auto-paging feature:
|
|
|
|
# export SYSTEMD_PAGER=
|
|
|
|
|
2005-06-08 08:56:14 +00:00
|
|
|
# User specific aliases and functions
|
2020-12-04 13:45:17 +00:00
|
|
|
if [ -d ~/.bashrc.d ]; then
|
2022-11-06 21:32:16 +00:00
|
|
|
for rc in ~/.bashrc.d/*; do
|
|
|
|
if [ -f "$rc" ]; then
|
|
|
|
. "$rc"
|
|
|
|
fi
|
|
|
|
done
|
2020-12-04 13:45:17 +00:00
|
|
|
fi
|
|
|
|
unset rc
|