Skip to content

Instantly share code, notes, and snippets.

@kaira
Created June 12, 2019 07:48
Show Gist options
  • Save kaira/1d5c5ca59340f12320254fb2d68186ae to your computer and use it in GitHub Desktop.
Save kaira/1d5c5ca59340f12320254fb2d68186ae to your computer and use it in GitHub Desktop.
Default bash profile
EDITOR=nano
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion
if [ -f "/usr/local/opt/bash-git-prompt/share/gitprompt.sh" ]; then
__GIT_PROMPT_DIR="/usr/local/opt/bash-git-prompt/share"
source "/usr/local/opt/bash-git-prompt/share/gitprompt.sh"
fi
export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ "
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
export PATH="$HOME/.jenv/bin:$PATH"
export PATH="/usr/local/opt/openssl/bin:$PATH"
export NVM_DIR="$HOME/.nvm"
. "/usr/local/opt/nvm/nvm.sh"
eval "$(direnv hook bash)"
eval "$(jenv init -)"
eval "$(ssh-agent -s)"
alias ls='ls -GFh'
alias gitt='git log --all --graph --decorate --oneline'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment