Taylor Bockman
5 years ago
2 changed files with 26 additions and 0 deletions
@ -0,0 +1,12 @@ |
|||||||
|
[[ -r ~/.bashrc ]] && . ~/.bashrc |
||||||
|
echo ".bashrc loaded" |
||||||
|
|
||||||
|
# Store private information (exports, keys, etc) in .bash_private. |
||||||
|
[[ -r ~/.bash_private ]] && . ~/.bash_private |
||||||
|
echo ".bash_private loaded" |
||||||
|
|
||||||
|
export CC=$(which clang) |
||||||
|
export CXX=$(which clang++) |
||||||
|
|
||||||
|
if which pyenv-virtualenv-init > /dev/null; then eval "$(pyenv virtualenv-init -)"; fi |
||||||
|
|
@ -0,0 +1,14 @@ |
|||||||
|
# Use the iterm2 material theme in the root directory of the essentials repository. For linux, |
||||||
|
# you will need to source a material theme color scheme for your terminal. |
||||||
|
|
||||||
|
parse_git_branch() { |
||||||
|
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' |
||||||
|
} |
||||||
|
|
||||||
|
# If you ever needed weather... |
||||||
|
weather() { |
||||||
|
curl wttr.in |
||||||
|
} |
||||||
|
|
||||||
|
export PROMPT_DIRTRIM=2 |
||||||
|
export PS1="\e[1;37m\u@\h\e[m: \e[1;34m\w\e[m \e[1;32m\[$(parse_git_branch)\]\e[m> " |
Loading…
Reference in new issue