Skip to content

Instantly share code, notes, and snippets.

View asymmetric's full-sized avatar
👾
:

asymmetric asymmetric

👾
:
View GitHub Profile
@asymmetric
asymmetric / README.md
Last active April 28, 2016 15:41 — forked from agnoster/README.md
My ZSH Theme

agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark

#!/bin/sh
# Put this in your .git/hooks/post-checkout and smoke it.
function current_branch_name {
git symbolic-ref HEAD | cut -d '/' -f 3
}
if [ $(current_branch_name) == 'master' ]; then
lines[0]="Master, Master, where's the dreams that I've been after?"
#!/bin/bash -e
# Your user web directory, typically "${HOME}/public_html" or "${HOME}/Sites"
PUBLIC_HTML="${HOME}/Sites"
# Subfolder of $PUBLIC_HTML where to put your shared repositories
PUBLIC_GIT="git"
# Save the shared repository with this remote name
REMOTE="public"
# The branch that will be pushed to your shared repository
BRANCH="master"