From 816d99271eb2bf8646af964911c1aa3f7a70f9d8 Mon Sep 17 00:00:00 2001 From: "Simen A. W. Olsen" Date: Fri, 20 Nov 2020 23:42:03 +0100 Subject: add basic shell --- .bash_profile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .bash_profile (limited to '.bash_profile') diff --git a/.bash_profile b/.bash_profile new file mode 100644 index 0000000..3659ef5 --- /dev/null +++ b/.bash_profile @@ -0,0 +1,17 @@ +# branches and stuff in my SH +PS1='\w\[\033[0;32m\]$( git branch 2> /dev/null | cut -f2 -d\* -s | sed "s/^ / [/" | sed "s/$/]/" )\[\033[0m\] \$ ' + +# Tell grep to highlight matches +export GREP_OPTIONS='--color=auto' + +# Tell ls to be colourful +export CLICOLOR=1 +export LSCOLORS=Exfxcxdxbxegedabagacad + +alias l='ls -l' +# Add VSCode to PATH +export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin" + +# Volta +export VOLTA_HOME="$HOME/.volta" +export PATH="$VOLTA_HOME/bin:$PATH" -- cgit v1.2.3