1
0
Fork 0

add .bashrc

This commit is contained in:
Anton Livaja 2025-03-03 08:00:38 -08:00
parent ab3828f3da
commit fcffdf221e
Signed by: anton
GPG Key ID: 44A86CFF1FDF0E85
1 changed files with 25 additions and 0 deletions

25
bash/.bashrc Normal file
View File

@ -0,0 +1,25 @@
exec zsh
# 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