|
Petr Šabata |
33fc6c |
# .bashrc
|
|
Petr Šabata |
33fc6c |
|
|
Petr Šabata |
33fc6c |
# Source global definitions
|
|
Petr Šabata |
33fc6c |
if [ -f /etc/bashrc ]; then
|
|
Petr Šabata |
33fc6c |
. /etc/bashrc
|
|
Petr Šabata |
33fc6c |
fi
|
|
Petr Šabata |
33fc6c |
|
|
Petr Šabata |
33fc6c |
# User specific environment
|
|
Petr Šabata |
33fc6c |
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
|
|
Petr Šabata |
33fc6c |
then
|
|
Petr Šabata |
33fc6c |
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
|
|
Petr Šabata |
33fc6c |
fi
|
|
Petr Šabata |
33fc6c |
export PATH
|
|
Petr Šabata |
33fc6c |
|
|
Petr Šabata |
33fc6c |
# Uncomment the following line if you don't like systemctl's auto-paging feature:
|
|
Petr Šabata |
33fc6c |
# export SYSTEMD_PAGER=
|
|
Petr Šabata |
33fc6c |
|
|
Petr Šabata |
33fc6c |
# User specific aliases and functions
|
|
DistroBaker |
c6c133 |
if [ -d ~/.bashrc.d ]; then
|
|
DistroBaker |
c6c133 |
for rc in ~/.bashrc.d/*; do
|
|
DistroBaker |
c6c133 |
if [ -f "$rc" ]; then
|
|
DistroBaker |
c6c133 |
. "$rc"
|
|
DistroBaker |
c6c133 |
fi
|
|
DistroBaker |
c6c133 |
done
|
|
DistroBaker |
c6c133 |
fi
|
|
DistroBaker |
c6c133 |
|
|
DistroBaker |
c6c133 |
unset rc
|