mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-23 20:45:21 -07:00
Compare commits
4 Commits
9ec238ffc3
...
193ec66017
Author | SHA1 | Date | |
---|---|---|---|
|
193ec66017 | ||
|
b9e73b4481 | ||
|
62e3e0b2fd | ||
|
cf4093dbdc |
@ -1,4 +1,4 @@
|
|||||||
certifi==2024.8.30
|
certifi==2024.12.14
|
||||||
charset-normalizer==3.4.0
|
charset-normalizer==3.4.0
|
||||||
idna==3.10
|
idna==3.10
|
||||||
PyYAML==6.0.2
|
PyYAML==6.0.2
|
||||||
|
@ -35,6 +35,7 @@ toggle set the `PER_DIRECTORY_HISTORY_TOGGLE` environment variable.
|
|||||||
function above (default `^G`)
|
function above (default `^G`)
|
||||||
* `PER_DIRECTORY_HISTORY_PRINT_MODE_CHANGE` is a variable which toggles whether
|
* `PER_DIRECTORY_HISTORY_PRINT_MODE_CHANGE` is a variable which toggles whether
|
||||||
the current mode is printed to the screen following a mode change (default `true`)
|
the current mode is printed to the screen following a mode change (default `true`)
|
||||||
|
* `HISTORY_START_WITH_GLOBAL` is a global variable that defines how to start the plugin: global or local (default `false`)
|
||||||
|
|
||||||
## History
|
## History
|
||||||
|
|
||||||
|
7
plugins/sanity/README.md
Normal file
7
plugins/sanity/README.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# sanity autocomplete plugin
|
||||||
|
|
||||||
|
* Adds autocomplete options for all Sanity commands.
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
|
||||||
|
In order to make this work, you will need to have Sanity set up in your path.
|
42
plugins/sanity/_sanity
Normal file
42
plugins/sanity/_sanity
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
#compdef sanity
|
||||||
|
#autoload
|
||||||
|
|
||||||
|
# In order to make this work, you will need to have Sanity installed.
|
||||||
|
# https://www.sanity.io/
|
||||||
|
|
||||||
|
local -a _1st_arguments
|
||||||
|
_1st_arguments=(
|
||||||
|
'build:Builds the current Sanity configuration to a static bundle.'
|
||||||
|
'check:Performs a Sanity check.'
|
||||||
|
'configcheck:Checks if the required configuration files for plugins exists and are up to date.'
|
||||||
|
'cors:Interact with CORS-entries for your project.'
|
||||||
|
'dataset:Interact with datasets in your project.'
|
||||||
|
'debug:Gathers information on Sanity environment.'
|
||||||
|
'deploy:Deploys a statically built Sanity studio.'
|
||||||
|
'docs:Opens the Sanity documentation.'
|
||||||
|
'documents:Interact with documents in your project.'
|
||||||
|
'exec:Runs a script in Sanity context.'
|
||||||
|
'graphql:Interact with GraphQL APIs.'
|
||||||
|
'help:Displays help information about Sanity.'
|
||||||
|
'hook:Interact with hooks in your project.'
|
||||||
|
'init:Initialize a new Sanity project or plugin.'
|
||||||
|
'install:Installs a Sanity plugin to the current Sanity configuration.'
|
||||||
|
'login:Authenticates against the Sanity.io API.'
|
||||||
|
'logout:Logs out of the Sanity.io session.'
|
||||||
|
'manage:Opens the Sanity project management UI.'
|
||||||
|
'projects:Interact with projects connected to your logged in user.'
|
||||||
|
'start:Starts a web server for the Content Studio.'
|
||||||
|
'undeploy:Removes the deployed studio from <hostname>.sanity.studio.'
|
||||||
|
'uninstall:Removes a Sanity plugin from the current Sanity configuration.'
|
||||||
|
'upgrade:Upgrades all (or some) Sanity modules to their latest versions.'
|
||||||
|
'users:Manage users of your project.'
|
||||||
|
'versions:Shows the installed versions of Sanity CLI and core components.'
|
||||||
|
)
|
||||||
|
|
||||||
|
_arguments -C '*:: :->subcmds' && return 0
|
||||||
|
|
||||||
|
if (( CURRENT == 1 )); then
|
||||||
|
_describe -t commands "sanity subcommand" _1st_arguments
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user