Add bashrc and bash_profile

This commit is contained in:
Oystein Kristoffer Tveit 2021-02-15 18:49:21 +01:00
parent ff50e50e60
commit 4b5f727912
2 changed files with 15 additions and 0 deletions

5
general/.bash_profile Normal file
View File

@ -0,0 +1,5 @@
#
# ~/.bash_profile
#
[[ -f ~/.bashrc ]] && . ~/.bashrc

10
general/.bashrc Normal file
View File

@ -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