rcolebaugh / rpms / bash

Forked from rpms/bash a year ago
Clone
b92f7d
# .bashrc
b92f7d
b92f7d
# Source global definitions
b92f7d
if [ -f /etc/bashrc ]; then
b92f7d
	. /etc/bashrc
b92f7d
fi
b92f7d
b92f7d
# User specific environment
b92f7d
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
b92f7d
then
b92f7d
    PATH="$HOME/.local/bin:$HOME/bin:$PATH"
b92f7d
fi
b92f7d
export PATH
b92f7d
b92f7d
# Uncomment the following line if you don't like systemctl's auto-paging feature:
b92f7d
# export SYSTEMD_PAGER=
b92f7d
b92f7d
# User specific aliases and functions
b92f7d
if [ -d ~/.bashrc.d ]; then
b92f7d
	for rc in ~/.bashrc.d/*; do
b92f7d
		if [ -f "$rc" ]; then
b92f7d
			. "$rc"
b92f7d
		fi
b92f7d
	done
b92f7d
fi
b92f7d
b92f7d
unset rc