diff options
Diffstat (limited to '.bashrc')
| -rw-r--r-- | .bashrc | 17 |
1 files changed, 2 insertions, 15 deletions
@@ -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 $ ' |
