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
### Keybase proof | |
I hereby claim: | |
* I am eduardoshanahan on github. | |
* I am eduardoshanahan (https://keybase.io/eduardoshanahan) on keybase. | |
* I have a public key ASCxxO8nfS5Zd9UnhsZRc2firb0m5ws9EzaxXhX_6DqPOAo | |
To claim this, I am signing this object: |
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
# Git branch in prompt. | |
# Taken from http://martinfitzpatrick.name/article/add-git-branch-name-to-terminal-prompt-mac/ | |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
# Terminal prompt | |
export PS1="\W\[\033[32m\]\$(parse_git_branch)\[\033[00m\]:" |
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
http { | |
sendfile off; | |
server { | |
location / { | |
} | |
} | |
} |