mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-24 16:53:47 +01:00
parent
01230fa6e2
commit
d3bc4b4152
@ -11,32 +11,38 @@ plugins=(... drush)
|
|||||||
|
|
||||||
## Aliases
|
## Aliases
|
||||||
|
|
||||||
| Alias | Command | Description |
|
| Alias | Command | Description |
|
||||||
| ------- | ------------------------------------------------------------ | --------------------------------------------------------------------- |
|
| ------- | ----------------------------------------------------------- | -------------------------------------------------------------------- |
|
||||||
| `dr` | `drush` | Display drush help |
|
| `dr` | `drush` | Display drush help |
|
||||||
| `drca` | `drush cc all` | _(Deprecated in Drush 8)_ Clear all drupal caches. |
|
| `drca` | `drush cc all` | _(Deprecated in Drush 8)_ Clear all drupal caches |
|
||||||
| `drcb` | `drush cc block` | _(Deprecated in Drush 8)_ Clear block cache. |
|
| `drcb` | `drush cc block` | _(Deprecated in Drush 8)_ Clear block cache |
|
||||||
| `drcg` | `drush cc registry` | _(Deprecated in Drush 8)_ Clear registry cache. |
|
| `drcex` | `drush config:export -y` | Export Drupal configuration to a directory |
|
||||||
| `drcj` | `drush cc css-js` | Clear css-js cache. |
|
| `drcg` | `drush cc registry` | _(Deprecated in Drush 8)_ Clear registry cache |
|
||||||
| `drcm` | `drush cc menu` | Clear menu cache. |
|
| `drcim` | `drush config:import -y` | Import config from a config directory |
|
||||||
| `drcml` | `drush cc module-list` | Clear module-list cache. |
|
| `drcj` | `drush cc css-js` | Clear css-js cache |
|
||||||
| `drcr` | `drush core-cron` | Run all cron hooks in all active modules for specified site. |
|
| `drcm` | `drush cc menu` | Clear menu cache |
|
||||||
| `drct` | `drush cc theme-registry` | Clear theme-registry cache. |
|
| `drcml` | `drush cc module-list` | Clear module-list cache |
|
||||||
| `drcv` | `drush cc views` | Clear views cache. (Make sure that the views module is enabled) |
|
| `drcr` | `drush core-cron` | Run all cron hooks in all active modules for specified site |
|
||||||
| `drdmp` | `drush drush sql-dump --ordered-dump --result-file=dump.sql` | Backup database in a new dump.sql file |
|
| `drct` | `drush cc theme-registry` | Clear theme-registry cache |
|
||||||
| `drf` | `drush features` | Display features status |
|
| `drcv` | `drush cc views` | Clear views cache _(make sure that the views module is enabled)_ |
|
||||||
| `drfr` | `drush features-revert -y` | Revert a feature module on your site. |
|
| `drdmp` | `drush drush sql-dump --ordered-dump --result-file=dumpsql` | Backup database in a new dump.sql file |
|
||||||
| `drfra` | `drush features-revert-all` | Revert all enabled feature module on your site. |
|
| `drf` | `drush features` | Display features status |
|
||||||
| `drfu` | `drush features-update -y` | Update a feature module on your site. |
|
| `drfr` | `drush features-revert -y` | Revert a feature module on your site |
|
||||||
| `drif` | `drush image-flush --all` | Flush all derived images. |
|
| `drfra` | `drush features-revert-all` | Revert all enabled feature module on your site |
|
||||||
| `drpm` | `drush pm-list --type=module` | Show a list of available modules. |
|
| `drfu` | `drush features-update -y` | Update a feature module on your site |
|
||||||
| `drst` | `drush core-status` | Provides a birds-eye view of the current Drupal installation, if any. |
|
| `drif` | `drush image-flush --all` | Flush all derived images |
|
||||||
| `drup` | `drush updatedb` | Apply any database updates required (as with running update.php). |
|
| `drpm` | `drush pm-list --type=module` | Show a list of available modules |
|
||||||
| `drups` | `drush updatedb-status` | List any pending database updates. |
|
| `drst` | `drush core-status` | Provides a birds-eye view of the current Drupal installation, if any |
|
||||||
| `drv` | `drush version` | Show drush version. |
|
| `druli` | `drush user:login` | Display a one time login link for user ID 1, or another user |
|
||||||
| `drvd` | `drush variable-del` | Delete a variable. |
|
| `drup` | `drush updatedb` | Apply any database updates required (as with running update.php) |
|
||||||
| `drvg` | `drush variable-get` | Get a list of some or all site variables and values. |
|
| `drups` | `drush updatedb-status` | List any pending database updates |
|
||||||
| `drvs` | `drush variable-set` | Set a variable. |
|
| `drv` | `drush version` | Show drush version |
|
||||||
|
| `drvd` | `drush variable-del` | Delete a variable |
|
||||||
|
| `drvg` | `drush variable-get` | Get a list of some or all site variables and values |
|
||||||
|
| `drvs` | `drush variable-set` | Set a variable |
|
||||||
|
| `drws` | `drush watchdog:show` | Show watchdog messages |
|
||||||
|
| `drwse` | `drush watchdog:show --extended` | Show watchdog messages with extended information |
|
||||||
|
| `drwst` | `drush watchdog:tail` | Tail watchdog messages |
|
||||||
|
|
||||||
## Functions
|
## Functions
|
||||||
|
|
||||||
|
@ -73,7 +73,9 @@ function drnew() {
|
|||||||
alias dr="drush"
|
alias dr="drush"
|
||||||
alias drca="drush cc all" # Deprecated for Drush 8
|
alias drca="drush cc all" # Deprecated for Drush 8
|
||||||
alias drcb="drush cc block" # Deprecated for Drush 8
|
alias drcb="drush cc block" # Deprecated for Drush 8
|
||||||
|
alias drcex="drush config:export -y"
|
||||||
alias drcg="drush cc registry" # Deprecated for Drush 8
|
alias drcg="drush cc registry" # Deprecated for Drush 8
|
||||||
|
alias drcim="drush config:import -y"
|
||||||
alias drcj="drush cc css-js"
|
alias drcj="drush cc css-js"
|
||||||
alias drcm="drush cc menu"
|
alias drcm="drush cc menu"
|
||||||
alias drcml="drush cc module-list"
|
alias drcml="drush cc module-list"
|
||||||
@ -88,12 +90,16 @@ alias drfu="drush features-update -y"
|
|||||||
alias drif="drush image-flush --all"
|
alias drif="drush image-flush --all"
|
||||||
alias drpm="drush pm-list --type=module"
|
alias drpm="drush pm-list --type=module"
|
||||||
alias drst="drush core-status"
|
alias drst="drush core-status"
|
||||||
|
alias druli="drush user:login"
|
||||||
alias drup="drush updatedb"
|
alias drup="drush updatedb"
|
||||||
alias drups="drush updatedb-status"
|
alias drups="drush updatedb-status"
|
||||||
alias drv="drush version"
|
alias drv="drush version"
|
||||||
alias drvd="drush variable-del"
|
alias drvd="drush variable-del"
|
||||||
alias drvg="drush variable-get"
|
alias drvg="drush variable-get"
|
||||||
alias drvs="drush variable-set"
|
alias drvs="drush variable-set"
|
||||||
|
alias drws="drush watchdog:show"
|
||||||
|
alias drwse="drush watchdog:show --extended"
|
||||||
|
alias drwst="drush watchdog:tail"
|
||||||
|
|
||||||
# Enable drush autocomplete support
|
# Enable drush autocomplete support
|
||||||
autoload bashcompinit
|
autoload bashcompinit
|
||||||
|
Loading…
Reference in New Issue
Block a user