Xinqi Bao's Git

cleaned up .vimrc
[dotfiles.git] / .bashrc
diff --git a/.bashrc b/.bashrc
new file mode 100644 (file)
index 0000000..d837918
--- /dev/null
+++ b/.bashrc
@@ -0,0 +1,14 @@
+#
+# ~/.bashrc
+#
+
+# If not running interactively, don't do anything
+[[ $- != *i* ]] && return
+
+alias ls='ls --color=auto'
+
+export PS1="[\[\e[36;1m\]\u@\h \[\e[32;1m\]\w\[\e[m\]]\[\e[33m\](\$(git branch 2>/dev/null | grep '^*' | colrm 1 2))\n\[\e[m\]~~~>\$ "
+
+export EDITOR=vim
+
+export TERM=xterm-256color