mirror of
https://github.com/spirit-x64/dotfiles.git
synced 2025-01-19 02:11:57 +03:00
Source global definitions in .bashrc
This commit is contained in:
parent
17b5cd1adc
commit
6299ba4eb1
10
.bashrc
10
.bashrc
@ -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]\$ '
|
||||
|
Loading…
Reference in New Issue
Block a user