From 189ed5427c7d11c285de576f7f22eb248ef140a4 Mon Sep 17 00:00:00 2001 From: Maciej Sobkowski Date: Sat, 1 Mar 2025 22:48:05 +0100 Subject: bash: add vanilla bash configs --- .bash_logout | 3 +++ .bash_profile | 5 +++++ .bashrc | 10 ++++++++++ 3 files changed, 18 insertions(+) create mode 100644 .bash_logout create mode 100644 .bash_profile create mode 100644 .bashrc 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]\$ ' -- cgit v1.2.3-70-g09d2