diff options
author | Suleyman Farajli <suleyman@farajli.net> | 2025-06-21 21:07:02 +0400 |
---|---|---|
committer | Suleyman Farajli <suleyman@farajli.net> | 2025-06-21 21:07:02 +0400 |
commit | 6a3feffb770d042abb86e97a0c57d2d73122b734 (patch) | |
tree | 4ab85bea3c912f897cd71ed739c59764af3a50bb /config/shell | |
parent | 4f794c1c893818bae6e8b282329bf815ee69b268 (diff) |
feat (shell): source .bashrc for interactive TTY sessions
- Defined BASHRC path for consistency
- Ensured .bashrc is sourced when using Bash in TTY environments
Diffstat (limited to 'config/shell')
-rw-r--r-- | config/shell/profile | 4 |
1 files changed, 4 insertions, 0 deletions
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}" |