X-Git-Url: https://git.xinqibao.xyz/dotfiles.git/blobdiff_plain/4c5f5737ad3e7916d2f47b2f707c3a43e2f424cc..875c81c3638e1b2218d8b3b6fbd5494cbe5b1a5f:/.bashrc diff --git a/.bashrc b/.bashrc new file mode 100644 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