A function to help vcsh users require Github repositories using vcsh for auto-installation in ~/.zshrc, etc.
vcshr "<packag-name>" "<github-username>" "<github-repo>" --overwrite --autoignore --sshE.g.:
vcshr "homebrew" "aubreypwd" "vcsh-homebrew" --overwrite --autoignore --sshWill require [email protected]:aubreypwd/vcsh-homebrew.git as homebrew.
--overwriteto make sure that all files get clobbered by the clone process--autoignoreto automatically write a new.gitignore.dfor the repo--sshto use Github's SSH URL vs. HTTPS (default)
vcsh*
* If using homebrew on macOS, these will automatically be installed.
Using antigen:
antigen bundle aubreypwd/[email protected]Install the package on master:
antigen bundle aubreypwd/zsh-plugin-vcshr...and contribute upstream by working in $HOME/.antigen/bundles/aubreypwd/zsh-plugin-vcshr.
- First version