Skip to content

aubreypwd/zsh-plugin-vcshr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

vcshr

A function to help vcsh users require Github repositories using vcsh for auto-installation in ~/.zshrc, etc.

Usage

vcshr "<packag-name>" "<github-username>" "<github-repo>" --overwrite --autoignore --ssh

E.g.:

vcshr "homebrew" "aubreypwd" "vcsh-homebrew" --overwrite --autoignore --ssh

Will require [email protected]:aubreypwd/vcsh-homebrew.git as homebrew.

Argumentes

  • --overwrite to make sure that all files get clobbered by the clone process
  • --autoignore to automatically write a new .gitignore.d for the repo
  • --ssh to use Github's SSH URL vs. HTTPS (default)

Requires

  • vcsh*

* If using homebrew on macOS, these will automatically be installed.

Install

Using antigen:

antigen bundle aubreypwd/[email protected]

Development

Install the package on master:

antigen bundle aubreypwd/zsh-plugin-vcshr

...and contribute upstream by working in $HOME/.antigen/bundles/aubreypwd/zsh-plugin-vcshr.


Changelog

1.0.0

  • First version