# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
	. /etc/bashrc
fi

# User specific environment
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
then
    PATH="$HOME/.local/bin:$HOME/bin:$PATH"
fi
export PATH

# Cây Tre Linux thêm

# Lấy cảm hứng từ Ubuntu

bash_prompt_color=yes

if [ "$bash_prompt_color" = yes ]; then
  PS1='\[\033[01;31m\][\[\033[01;34m\]\u\[\033[01;35m\]@\[\033[01;34m\]\h\[\033[01;32m\] \W\[\033[01;31m\]]\$\[\033[0m\] '
fi

unset bash_prompt_color

# Cây Tre Linux hết

# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=

# User specific aliases and functions
if [ -d ~/.bashrc.d ]; then
	for rc in ~/.bashrc.d/*; do
		if [ -f "$rc" ]; then
			. "$rc"
		fi
	done
fi

unset rc
