bash/dot-bashrc
Siteshwar Vashisht 739b272e5f Set custom PATH in non-login shells
.bash_profile is sourced only in login shells. Since .bash_profile
sources .bashrc, it should be safe to set custom PATH in .bashrc.

Resolves: #1615131
2018-09-11 13:50:14 +02:00

16 lines
312 B
Plaintext

# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific environment
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
export PATH
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
# User specific aliases and functions