diff options
author | Thanos Apollo <[email protected]> | 2023-11-10 18:28:07 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-11-10 18:28:07 +0200 |
commit | d8facfa4a4625035953bd3c84fb1f1e1f2f52ea5 (patch) | |
tree | c8bab112dd9e37dfd3f847da1c8897157ee38b41 /.bashrc | |
parent | 5c2cd97f53cc08da40a8a12d1f12c0267e40f5d0 (diff) |
bashrc: source /etc/profile
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -1,8 +1,15 @@ source ~/.shells/alias.sh source ~/.shells/exports.sh -#source ~/dotfiles/.shells/bash_completion +source /etc/profile export PATH=/home/$USER/.local/bin:$PATH +if [ -e /etc/profile.env ] ; then + . /etc/profile.env +fi + +for sh in /etc/profile.d/*.sh ; do + [ -r "$sh" ] && . "$sh" +done ## Get completions for sh in /etc/bash/bashrc.d/* ; do @@ -16,9 +23,7 @@ else PS1+='\u@\h \w \$ ' fi -## eat integration -# [ -n "$EAT_SHELL_INTEGRATION_DIR" ] && \ -# source "$EAT_SHELL_INTEGRATION_DIR/bash" + ## doas > sudo complete -cf doas |