nalika / rpms / bash

Forked from rpms/bash 2 years ago
Clone

Blame SOURCES/dot-bashrc

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