Files
dotfiles/.bashrc
2026-03-12 12:35:37 +05:30

22 lines
694 B
Bash

# Put all the commands here that should run regardless of whether
# this is an interactive or non-interactive shell.
# Example command:
umask 0027
# test if the prompt var is not set and also to prevent failures
# when `$PS1` is unset and `set -u` is used
if [ -z "${PS1:-}" ]; then
# prompt var is not set, so this is *not* an interactive shell
return
fi
# If we reach this line of code, then the prompt var is set, so
# this is an interactive shell.
# Put all the commands here that should run only if this is an
# interactive shell.
# Example command:
source /home/sarjain/dotfiles/sh_personal #added by 6500gitsetup
# source /home/sarjain/dotfiles/sh_ciena #added by 6500gitsetup