Last active
September 14, 2017 04:13
-
-
Save khalido/dacabe045c919fa6370bff0e91da25f5 to your computer and use it in GitHub Desktop.
.bash_profile for mac #config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test -e "${HOME}/.iterm2_shell_integration.bash" && source "${HOME}/.iterm2_shell_integration.bash" | |
# Tell ls to be colourful | |
export CLICOLOR=1 | |
export LSCOLORS=Exfxcxdxbxegedabagacad | |
# Tell grep to highlight matches | |
export GREP_OPTIONS='--color=auto' | |
# for a colored prompt | |
export TERM="xterm-color" | |
PS1='\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\]:\[\e[0;34m\]\w\[\e[0m\]\$ ' | |
#adding some shortcuts | |
alias l='ls -l' | |
alias ll='ls -alh' | |
# added by Anaconda3 4.3.0 installer | |
export PATH="/Users/ko/anaconda/bin:$PATH" | |
# adding bash autocompletion | |
if [ -f $(brew --prefix)/etc/bash_completion ]; then | |
. $(brew --prefix)/etc/bash_completion | |
fi | |
# enables inline plots in ipython, using https://github.com/daleroberts/itermplot | |
export MPLBACKEND="module://itermplot" | |
# this line reverses output to use in dark bg | |
export ITERMPLOT=rv | |
# turn on powerline |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment