From 4b5f727912328657530e55c3dc4695f6213bc47f Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 15 Feb 2021 18:49:21 +0100 Subject: [PATCH] Add bashrc and bash_profile --- general/.bash_profile | 5 +++++ general/.bashrc | 10 ++++++++++ 2 files changed, 15 insertions(+) create mode 100644 general/.bash_profile create mode 100644 general/.bashrc diff --git a/general/.bash_profile b/general/.bash_profile new file mode 100644 index 0000000..5545f00 --- /dev/null +++ b/general/.bash_profile @@ -0,0 +1,5 @@ +# +# ~/.bash_profile +# + +[[ -f ~/.bashrc ]] && . ~/.bashrc diff --git a/general/.bashrc b/general/.bashrc new file mode 100644 index 0000000..abe57f6 --- /dev/null +++ b/general/.bashrc @@ -0,0 +1,10 @@ +# +# ~/.bashrc +# +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +# Taken from Manjaro +export PS1='\[\033[01;32m\][\u@\h\[\033[01;37m\] \W\[\033[01;32m\]]\$\[\033[00m\] ' + +source ~/.aliases