From d8facfa4a4625035953bd3c84fb1f1e1f2f52ea5 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Fri, 10 Nov 2023 18:28:07 +0200 Subject: bashrc: source /etc/profile --- .bashrc | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to '.bashrc') diff --git a/.bashrc b/.bashrc index b13facd..afc481c 100644 --- a/.bashrc +++ b/.bashrc @@ -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 -- cgit v1.2.3