From 6b8582fa39ded47649cfc3d7097806a39a5889ad Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 14 Apr 2019 00:29:02 -0400 Subject: [PATCH] bash: add .bash_profile and .bashrc --- .bash_profile | 2 ++ .bashrc | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 .bash_profile create mode 100644 .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]\$ ' -- 2.20.1