chezmoi init
This commit is contained in:
commit
530d6d7195
1176 changed files with 111325 additions and 0 deletions
46
dot_oh-my-zsh/plugins/meteor/README.md
Normal file
46
dot_oh-my-zsh/plugins/meteor/README.md
Normal file
|
@ -0,0 +1,46 @@
|
|||
# meteor plugin
|
||||
|
||||
The [meteor plugin](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/meteor) provides many
|
||||
[useful aliases](#aliases) as well as completion for the `meteor` command.
|
||||
|
||||
Enable it by adding `meteor` to the plugins array in your zshrc file:
|
||||
|
||||
```zsh
|
||||
plugins=(... meteor)
|
||||
```
|
||||
|
||||
## Aliases
|
||||
|
||||
| Alias | Command | Description |
|
||||
|---------|----------------------------|------------------------------------------------------------------|
|
||||
| `ma` | `meteor add` | Add a package to this project |
|
||||
| `map` | `meteor add-platform` | Add a platform to this project |
|
||||
| `mad` | `meteor admin` | Administrative commands |
|
||||
| `mau` | `meteor authorized` | View or change authorized users and organizations for a site |
|
||||
| `mb` | `meteor build` | Build this project for all platforms |
|
||||
| `mcl` | `meteor claim` | Claim a site deployed with an old Meteor version |
|
||||
| `mca` | `meteor configure-android` | Run the Android configuration tool from Meteor's ADK environment |
|
||||
| `mc` | `meteor create` | Create a new project |
|
||||
| `mdb` | `meteor debug` | Run the project, but suspend the server process for debugging |
|
||||
| `mde` | `meteor deploy` | Deploy this project to Meteor |
|
||||
| `mis` | `meteor install-sdk` | Installs SDKs for a platform |
|
||||
| `ml` | `meteor list` | List the packages explicitly used by your project |
|
||||
| `mlp` | `meteor list-platforms` | List the platforms added to your project |
|
||||
| `mls` | `meteor list-sites` | List sites for which you are authorized |
|
||||
| `mli` | `meteor login` | Log in to your Meteor developer account |
|
||||
| `mlo` | `meteor logout` | Log out of your Meteor developer account |
|
||||
| `mlog` | `meteor logs` | Show logs for specified site |
|
||||
| `mm` | `meteor mongo` | Connect to the Mongo database for the specified site |
|
||||
| `mp` | `meteor publish` | Publish a new version of a package to the package server |
|
||||
| `mpa` | `meteor publish-for-arch` | Builds an already-published package for a new platform |
|
||||
| `mpr` | `meteor publish-release` | Publish a new meteor release to the package server |
|
||||
| `mr` | `meteor remove` | Remove a package from this project |
|
||||
| `mrp` | `meteor remove-platform` | Remove a platform from this project |
|
||||
| `mre` | `meteor reset` | Reset the project state. Erases the local database |
|
||||
| `m` | `meteor run` | **[default]** Run this project in local development mode |
|
||||
| `ms` | `meteor search` | Search through the package server database |
|
||||
| `msh` | `meteor shell` | Launch a Node REPL for interactively evaluating server-side code |
|
||||
| `msw` | `meteor show` | Show detailed information about a release or package |
|
||||
| `mt` | `meteor test-packages` | Test one or more packages |
|
||||
| `mu` | `meteor update` | Upgrade this project's dependencies to their latest versions |
|
||||
| `mw` | `meteor whoami` | Prints the username of your Meteor developer account |
|
67
dot_oh-my-zsh/plugins/meteor/_meteor
Normal file
67
dot_oh-my-zsh/plugins/meteor/_meteor
Normal file
|
@ -0,0 +1,67 @@
|
|||
#compdef meteor
|
||||
#autoload
|
||||
|
||||
# Meteor Autocomplete plugin for Oh-My-Zsh, based on homebrew completion
|
||||
# Original author: Dimitri JORGE (https://github.com/jorge-d)
|
||||
|
||||
_meteor_all_packages() {
|
||||
packages=(`meteor list | cut -d" " -f1`)
|
||||
}
|
||||
_meteor_installed_packages() {
|
||||
installed_packages=(`meteor list --using`)
|
||||
}
|
||||
|
||||
local -a _1st_arguments
|
||||
_1st_arguments=(
|
||||
"add-platform:Add a platform to this project."
|
||||
"add:Add a package to this project."
|
||||
"admin:Administrative commands."
|
||||
"authorized:View or change authorized users and organizations for a site."
|
||||
"build:Build this project for all platforms."
|
||||
"claim:Claim a site deployed with an old Meteor version."
|
||||
"configure-android:Run the Android configuration tool from Meteor's ADK environment."
|
||||
"create:Create a new project."
|
||||
"debug:Run the project, but suspend the server process for debugging."
|
||||
"deploy:Deploy this project to Meteor."
|
||||
"install-sdk:Installs SDKs for a platform."
|
||||
"lint:Build this project and run the linters printing all errors and warnings."
|
||||
"list-platforms:List the platforms added to your project."
|
||||
"list-sites:List sites for which you are authorized."
|
||||
"list:List the packages explicitly used by your project."
|
||||
"login:Log in to your Meteor developer account."
|
||||
"logout:Log out of your Meteor developer account."
|
||||
"logs:Show logs for specified site."
|
||||
"mongo:Connect to the Mongo database for the specified site."
|
||||
"publish-for-arch:Builds an already-published package for a new platform."
|
||||
"publish-release:Publish a new meteor release to the package server."
|
||||
"publish:Publish a new version of a package to the package server."
|
||||
"remove-platform:Remove a platform from this project."
|
||||
"remove:Remove a package from this project."
|
||||
"reset:Reset the project state. Erases the local database."
|
||||
"run:[default] Run this project in local development mode."
|
||||
"search:Search through the package server database."
|
||||
"shell:Launch a Node REPL for interactively evaluating server-side code."
|
||||
"show:Show detailed information about a release or package."
|
||||
"test-packages:Test one or more packages."
|
||||
"update:Upgrade this project's dependencies to their latest versions."
|
||||
"whoami:Prints the username of your Meteor developer account."
|
||||
)
|
||||
|
||||
local expl
|
||||
local -a packages installed_packages
|
||||
|
||||
if (( CURRENT == 2 )); then
|
||||
_describe -t commands "meteor subcommand" _1st_arguments
|
||||
return
|
||||
fi
|
||||
|
||||
case "$words[2]" in
|
||||
help)
|
||||
_describe -t commands "meteor subcommand" _1st_arguments ;;
|
||||
remove)
|
||||
_meteor_installed_packages
|
||||
_wanted installed_packages expl 'installed packages' compadd -a installed_packages ;;
|
||||
add)
|
||||
_meteor_all_packages
|
||||
_wanted packages expl 'all packages' compadd -a packages ;;
|
||||
esac
|
33
dot_oh-my-zsh/plugins/meteor/meteor.plugin.zsh
Normal file
33
dot_oh-my-zsh/plugins/meteor/meteor.plugin.zsh
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Aliases in alphabetical order
|
||||
|
||||
alias ma='meteor add' # Add a package to this project.
|
||||
alias map='meteor add-platform' # Add a platform to this project.
|
||||
alias mad='meteor admin' # Administrative commands.
|
||||
alias mau='meteor authorized' # View or change authorized users and organizations for a site.
|
||||
alias mb='meteor build' # Build this project for all platforms.
|
||||
alias mcl='meteor claim' # Claim a site deployed with an old Meteor version.
|
||||
alias mca='meteor configure-android' # Run the Android configuration tool from Meteor's ADK environment.
|
||||
alias mc='meteor create' # Create a new project.
|
||||
alias mdb='meteor debug' # Run the project, but suspend the server process for debugging.
|
||||
alias mde='meteor deploy' # Deploy this project to Meteor.
|
||||
alias mis='meteor install-sdk' # Installs SDKs for a platform.
|
||||
alias ml='meteor list' # List the packages explicitly used by your project.
|
||||
alias mlp='meteor list-platforms' # List the platforms added to your project.
|
||||
alias mls='meteor list-sites' # List sites for which you are authorized.
|
||||
alias mli='meteor login' # Log in to your Meteor developer account.
|
||||
alias mlo='meteor logout' # Log out of your Meteor developer account.
|
||||
alias mlog='meteor logs' # Show logs for specified site.
|
||||
alias mm='meteor mongo' # Connect to the Mongo database for the specified site.
|
||||
alias mp='meteor publish' # Publish a new version of a package to the package server.
|
||||
alias mpa='meteor publish-for-arch' # Builds an already-published package for a new platform.
|
||||
alias mpr='meteor publish-release' # Publish a new meteor release to the package server.
|
||||
alias mr='meteor remove' # Remove a package from this project.
|
||||
alias mrp='meteor remove-platform' # Remove a platform from this project.
|
||||
alias mre='meteor reset' # Reset the project state. Erases the local database.
|
||||
alias m='meteor run' # [default] Run this project in local development mode.
|
||||
alias ms='meteor search' # Search through the package server database.
|
||||
alias msh='meteor shell' # Launch a Node REPL for interactively evaluating server-side code.
|
||||
alias msw='meteor show' # Show detailed information about a release or package.
|
||||
alias mt='meteor test-packages' # Test one or more packages.
|
||||
alias mu='meteor update' # Upgrade this project's dependencies to their latest versions.
|
||||
alias mw='meteor whoami' # Prints the username of your Meteor developer account.
|
Loading…
Add table
Add a link
Reference in a new issue