mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
move bash configs into bash subdirectory
This commit is contained in:
parent
8d7bd4cf1f
commit
4d3bd82df5
3 changed files with 2 additions and 2 deletions
26
bash/bashrc
Normal file
26
bash/bashrc
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# vim: set ft=sh:
|
||||
# .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
|
||||
|
||||
# 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue