Source global definitions in .bashrc

This commit is contained in:
Spirit 2024-07-29 06:30:00 +03:00 committed by GitHub
parent 17b5cd1adc
commit 6299ba4eb1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

10
.bashrc
View File

@ -1,8 +1,14 @@
# .bashrc
export PATH=$PATH:$HOME/.local/bin
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# If not running interactively, don't do anything
# User specific environment
export PATH="$HOME/.local/bin:$HOME/bin:$PATH"
# If not running interactively, skip the rest
[[ $- != *i* ]] && return
PS1='[\u@\h \W]\$ '