summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc17
1 files changed, 2 insertions, 15 deletions
diff --git a/.bashrc b/.bashrc
index cb4776c..4ea9441 100644
--- a/.bashrc
+++ b/.bashrc
@@ -22,21 +22,8 @@ alias yta="yt-dlp -f bestaudio -x --audio-format mp3 --sponsorblock-remove spons
export SHELL
export HISTSIZE=5000
-if [[ $- != *i* ]]
-then
- # We are being invoked from a non-interactive shell. If this
- # is an SSH session (as in "ssh host command"), source
- # /etc/profile so we get PATH and other essential variables.
- [[ -n "$SSH_CLIENT" ]] && source /etc/profile
+[ -f /etc/bash/bashrc ] && source /etc/bash/bashrc
- # Don't do anything else.
- return
-fi
-
-# Source the system-wide file.
-[ -f /etc/bashrc ] && source /etc/bashrc
-
-# Setup eat integration
-[ -n "$EAT_SHELL_INTEGRATION_DIR" ] && source "$EAT_SHELL_INTEGRATION_DIR/bash"
+[ -n "$EAT_SHELL_INTEGRATION_DIR" ] && source "$EAT_SHELL_INTEGRATION_DIR/bash"
PS1='\u@\h \w $ '