Skip to content

Instantly share code, notes, and snippets.

@jiskanulo
Last active August 29, 2015 13:59
Show Gist options
  • Save jiskanulo/10958849 to your computer and use it in GitHub Desktop.
Save jiskanulo/10958849 to your computer and use it in GitHub Desktop.
install my custom oh-my-zsh plugins
#!/bin/bash
function git_clone()
{
[ -z "$ZSH" ] && return
url=https://gist.github.com/$1.git
name=$2
path=$ZSH/custom/plugins/$name
[ -e $ZSH/custom/plugins/$name ] && return
git clone $url $path
}
git_clone 10953612 cdd
git_clone 10633207 homeshick
git_clone 8891c3ec24fa432b82be my-env
git_clone 10953748 tig
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment