Skip to content

Custom oh-my-zsh plugin for the platform.sh cli

License

Notifications You must be signed in to change notification settings

UnityTech/web-module-oh-my-zsh-platform

 
 

Repository files navigation

oh-my-zsh platform.sh cli plugin

This is a plugin for the popular z shell, now the standard on Mac OS X. It requires [oh my zsh](https://ohmyz.sh /) in order to work.

Installation

To use this plugin, clone this repo to ~/.oh-my-zsh/custom/plugins:

git clone [email protected]:UnityTech/web-module-oh-my-zsh-platform.git ~/.oh-my-zsh/custom/plugins/platform

This will automatically override the default git plugin. If you aren't yet using the default plugin,
add platform to the plugins in your ~/.zshrc file:

plugins=(platform)

To reload your current terminal with the new aliases:

source ~/.zshrc

Aliases cheatsheet

Alias Command
pf platform
pfalias platform_list_aliases
pfala platform activity:list --all
pfal platform activity:log
pfdbd platform db:dump --gzip
pfea platform environment:activate
pfed platform environment:delete
pfd platform environment:drush
pfel platform environment:list
pfl platform environment:logs
pfer platform environment:redeploy
pfssh platform environment:ssh
 

Notes:

  • Check out all commands with usage and clarifications in your local platform.plugin.zsh or the repo's source code.

  • Alternatively, run alias for a list of all aliases as they're implemented, galias for this cheatsheet, or which <alias/function> for a specific implementation.

Credits

This project was forked from David Deprost's excellent work. Original development was done by Jordan Koplowicz on behalf of Unity Technologies.

Contributing

See CONTRIBUTING.md.

About

Custom oh-my-zsh plugin for the platform.sh cli

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages

  • Shell 100.0%