Created
March 12, 2013 21:59
-
-
Save mbauhardt/5147478 to your computer and use it in GitHub Desktop.
Zsh file to configure my ohmyzsh installation
This file contains hidden or 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
| function cloneGit { | |
| local folder=$1 | |
| local url=$2 | |
| if [ ! -d "$folder" ] | |
| then | |
| git clone $url $folder | |
| fi | |
| } | |
| function enableCustomTheme { | |
| local theme=$1 | |
| if [ "$ZSH_THEME" = "" ] | |
| then | |
| source $ZSH_CUSTOM/themes/$theme/$theme.zsh-theme | |
| fi | |
| } | |
| cloneGit $ZSH_CUSTOM/plugins/copyfile https://gist.github.com/5137374.git | |
| cloneGit $ZSH_CUSTOM/plugins/copydir https://gist.github.com/5136994.git | |
| cloneGit $ZSH_CUSTOM/plugins/antw https://gist.github.com/5136962.git | |
| cloneGit $ZSH_CUSTOM/plugins/zsh-syntax-highlighting git://github.com/zsh-users/zsh-syntax-highlighting.git | |
| cloneGit $ZSH_CUSTOM/themes/agnoster-mbauhardt https://gist.github.com/3806415.git | |
| enableCustomTheme agnoster-mbauhardt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment