diff options
| author | Mike Vink <ivi@vinkies.net> | 2025-06-24 10:26:35 +0800 |
|---|---|---|
| committer | Mike Vink <ivi@vinkies.net> | 2025-06-24 10:27:22 +0800 |
| commit | c9d19864ed260a2b7f734b06265fce1137dd0c75 (patch) | |
| tree | f108d370fae7a9333cff7a87fe6f453ecf0f69f9 | |
| parent | ed5f8d11f884c166b019283f94a1a312242fad51 (diff) | |
bash rc for ssh
| -rw-r--r-- | .config/bash/bashrc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/bash/bashrc b/.config/bash/bashrc index 7d5061b..04cbd48 100644 --- a/.config/bash/bashrc +++ b/.config/bash/bashrc @@ -1,3 +1,8 @@ +if [[ ! $- == *i* ]]; then + . /etc/profile + . ~/.profile +fi + [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc" [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutenvrc" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutenvrc" [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc" ] && . "${XDG_CONFIG_HOME:-$HOME/.config}/shell/aliasrc" |
