Skip to content

andredestro/cordova-zsh-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cordova oh-my-zsh Plugin

A simple oh-my-zsh plugin that provides handy aliases for Apache Cordova commands, inspired by git-style shortcuts (gco, gcb, etc).

Aliases

Command Alias
cordova co
cordova build cb
cordova run cr
cordova emulate ce
cordova prepare cp
cordova compile cc
cordova serve cs
cordova platform cpf
cordova platform add cpfa
cordova platform rm cpfr
cordova platform update cpfu
cordova plugin cpl
cordova plugin add cpla
cordova plugin rm cplr
cordova plugin update cplu
cordova plugin list cpll
cordova requirements creq
cordova requirements android creqa
cordova requirements ios creqi

Installation

oh-my-zsh

Clone this repo into your oh-my-zsh custom plugins folder:

git clone https://github.com/andredestro/cordova-zsh-plugin.git ~/.oh-my-zsh/custom/plugins/cordova

Then enable it in your ~/.zshrc:

plugins=(git cordova)

Reload zsh:

source ~/.zshrc

Zinit

If you use Zinit:

zinit light andredestro/cordova-zsh-plugin

Antigen

If you use Antigen:

antigen bundle andredestro/cordova-zsh-plugin

Zplug

If you use Zplug:

zplug "andredestro/cordova-zsh-plugin"

Contributing

Pull requests are welcome! Feel free to suggest new aliases or improvements.


License

MIT

About

A lightweight oh-my-zsh plugin that adds git-style aliases for Apache Cordova commands.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages