Created
November 13, 2016 21:07
-
-
Save ivyleavedtoadflax/7a0b001cf28e65b99acf58a6b20f625c to your computer and use it in GitHub Desktop.
Make the OSX terminal behave like it should!!!
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
#export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ " | |
# Shorten and colour command prompt | |
if [ "$color_prompt" = yes ]; then | |
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]\$ ' | |
else | |
PS1='${debian_chroot:+($debian_chroot)}\u:\W\$ ' | |
fi | |
export color_prompt=yes | |
export CLICOLOR=1 | |
export LSCOLORS=ExFxBxDxCxegedabagacad | |
# Aliases | |
alias ls='ls -gfh' | |
alias rstudio='sudo open -a Rstudio' | |
# added by Anaconda3 4.1.1 installer | |
export PATH="/Users/matthewupson/anaconda3/bin:$PATH" | |
# Setup pinentry and gpg-agent to access gpg keys | |
# See https://github.com/pstadler/keybase-gpg-github | |
if test -f ~/.gnupg/.gpg-agent-info -a -n "$(pgrep gpg-agent)"; then | |
source ~/.gnupg/.gpg-agent-info | |
export GPG_AGENT_INFO | |
GPG_TTY=$(tty) | |
export GPG_TTY | |
else | |
eval $(gpg-agent --daemon --write-env-file ~/.gnupg/.gpg-agent-info) | |
fi | |
# Set up autocomplete for MAC OSX | |
set show-all-if-ambiguous on | |
set completion-ignore-case on | |
#set TAB: menu-complete | |
# Setup git autocomplete | |
test -f ~/.git-completion.bash && . $_ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment