Skip to content

Instantly share code, notes, and snippets.

@phrz
Created September 21, 2018 17:29
Show Gist options
  • Save phrz/9b17afdcb38cd2b07d6d0640b9fdf808 to your computer and use it in GitHub Desktop.
Save phrz/9b17afdcb38cd2b07d6d0640b9fdf808 to your computer and use it in GitHub Desktop.
Bash Config
# You need this: git/contrib/completion/git-prompt.sh
export GIT_PS1_SHOWDIRTYSTATE=1
source ~/.git-prompt.sh
export PS1='\[\033[38;5;9m\]\h\[$(tput sgr0)\]\[\033[38;5;15m\]:\[$(tput sgr0)\]\[\033[38;5;14m\]\W\[$(tput sgr0)\]\[\033[38;5;15m\]$(__git_ps1 ":git<%s>"):\\$ \[$(tput sgr0)\]'
alias aplay="mplayer -cache 1024 -really-quiet -rawaudio samplesize=1:channels=1:rate=8000 -demuxer rawaudio -"
# You need the version of LLVM that haskell wants installed, `brew install llvm@__`.
alias ghcl="ghc -O2 -fllvm -pgmlo /usr/local/opt/[email protected]/bin/opt -pgmlc /usr/local/opt/[email protected]/bin/llc --make"
export PATH=$PATH:~/Library/Python/3.6/bin:~/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment