summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-04-14 00:29:02 -0400
committerAmin Bandali <bandali@gnu.org>2019-04-14 00:29:02 -0400
commit6b8582fa39ded47649cfc3d7097806a39a5889ad (patch)
tree5adbf28d30bb78eb323a18a02fe5b9b1c5c1727a
parent5c23e4974f6a7c1e2d57179ff282bf0e3c99aec6 (diff)
downloadconfigs-6b8582fa39ded47649cfc3d7097806a39a5889ad.tar.gz
configs-6b8582fa39ded47649cfc3d7097806a39a5889ad.tar.xz
configs-6b8582fa39ded47649cfc3d7097806a39a5889ad.zip
bash: add .bash_profile and .bashrc
-rw-r--r--.bash_profile2
-rw-r--r--.bashrc9
2 files changed, 11 insertions, 0 deletions
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]\$ '