Files
dotfiles/shell/bashrc

24 lines
749 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 ~/dotfiles/shell/common
source ~/dotfiles/shell/personal #added by 6500gitsetup
source ~/dotfiles/shell/aliases
# source /home/jsarthak/dotfiles/sh_ciena #added by 6500gitsetup