From 6a3feffb770d042abb86e97a0c57d2d73122b734 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Sat, 21 Jun 2025 21:07:02 +0400 Subject: feat (shell): source .bashrc for interactive TTY sessions - Defined BASHRC path for consistency - Ensured .bashrc is sourced when using Bash in TTY environments --- config/shell/profile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config') diff --git a/config/shell/profile b/config/shell/profile index 0504af9..9125131 100644 --- a/config/shell/profile +++ b/config/shell/profile @@ -6,6 +6,7 @@ export XDG_DATA_HOME="$HOME/.local/share" export XDG_STATE_HOME="$HOME/.local/state" export XINITRC="$XDG_CONFIG_HOME/x11/xinitrc" export ZSHRC="$XDG_CONFIG_HOME/zsh/zshrc" +export BASHRC="$HOME/.bashrc" mkdir -p "${XDG_BIN_DIR}" PATH="${XDG_BIN_DIR}":$PATH @@ -19,3 +20,6 @@ PATH="${XDG_BIN_DIR}":$PATH [ -x "$(command -v firefox)" ] && export BROWSER="firefox" export MAKEFLAGS="-j8" # Reduce compile times + +# Source bashrc for tty +[ -n "$BASH_VERSION" ] && [ -f "${BASHRC}" ] && . "${BASHRC}" -- cgit v1.2.3