aboutsummaryrefslogtreecommitdiffstats
path: root/.bash_profile
diff options
context:
space:
mode:
authorSimen A. W. Olsen <cobraz@cobraz.no>2020-11-20 23:42:03 +0100
committerSimen A. W. Olsen <cobraz@cobraz.no>2020-11-20 23:42:03 +0100
commit816d99271eb2bf8646af964911c1aa3f7a70f9d8 (patch)
tree44307dfc64d864bf23897f5371d64d9539f8a73f /.bash_profile
parent56391bc07580cad4b9bc8b98123fda143098adaa (diff)
downloaddotfiles-816d99271eb2bf8646af964911c1aa3f7a70f9d8.tar.gz
dotfiles-816d99271eb2bf8646af964911c1aa3f7a70f9d8.zip
add basic shell
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile17
1 files changed, 17 insertions, 0 deletions
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"