From: Amin Bandali Date: Sun, 14 Apr 2019 04:29:02 +0000 (-0400) Subject: bash: add .bash_profile and .bashrc X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/6b8582fa39ded47649cfc3d7097806a39a5889ad?ds=sidebyside;hp=5c23e4974f6a7c1e2d57179ff282bf0e3c99aec6 bash: add .bash_profile and .bashrc --- diff --git a/.bash_profile b/.bash_profile new file mode 100644 index 0000000..d5f7cc9 --- /dev/null +++ b/.bash_profile @@ -0,0 +1,2 @@ +[[ -f ~/.profile ]] && . ~/.profile +[[ -f ~/.bashrc ]] && . ~/.bashrc diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..a355b0c --- /dev/null +++ b/.bashrc @@ -0,0 +1,9 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +alias ls='ls --color=auto' +PS1='[\u@\h \W]\$ '