aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Sobkowski <maciej@sobkow.ski>2025-03-01 22:48:05 +0100
committerMaciej Sobkowski <maciej@sobkow.ski>2025-04-06 20:36:46 +0200
commit189ed5427c7d11c285de576f7f22eb248ef140a4 (patch)
tree23ac15d26957a10b3cd6e90b17502f3c1cd096b3
parent2a2cd0763c118edb1dfe64d5f60a3c5a1fccca4f (diff)
bash: add vanilla bash configs
-rw-r--r--.bash_logout3
-rw-r--r--.bash_profile5
-rw-r--r--.bashrc10
3 files changed, 18 insertions, 0 deletions
diff --git a/.bash_logout b/.bash_logout
new file mode 100644
index 0000000..0e4e4f1
--- /dev/null
+++ b/.bash_logout
@@ -0,0 +1,3 @@
+#
+# ~/.bash_logout
+#
diff --git a/.bash_profile b/.bash_profile
new file mode 100644
index 0000000..5545f00
--- /dev/null
+++ b/.bash_profile
@@ -0,0 +1,5 @@
+#
+# ~/.bash_profile
+#
+
+[[ -f ~/.bashrc ]] && . ~/.bashrc
diff --git a/.bashrc b/.bashrc
new file mode 100644
index 0000000..9283825
--- /dev/null
+++ b/.bashrc
@@ -0,0 +1,10 @@
+#
+# ~/.bashrc
+#
+
+# If not running interactively, don't do anything
+[[ $- != *i* ]] && return
+
+alias ls='ls --color=auto'
+alias grep='grep --color=auto'
+PS1='[\u@\h \W]\$ '