From fcffdf221e683f77083f92234896e546281b5d8f Mon Sep 17 00:00:00 2001 From: Anton Livaja Date: Mon, 3 Mar 2025 08:00:38 -0800 Subject: [PATCH] add .bashrc --- bash/.bashrc | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 bash/.bashrc diff --git a/bash/.bashrc b/bash/.bashrc new file mode 100644 index 0000000..b81aae2 --- /dev/null +++ b/bash/.bashrc @@ -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