Added aliases for commands related to variables

This commit is contained in:
Lucas Araujo Rodrigues 2016-01-12 15:27:37 -02:00
parent 5266c1d98d
commit dbebd31b82
2 changed files with 6 additions and 1 deletions

View File

@ -33,7 +33,9 @@ plugins=(... drush)
| drup | Apply any database updates required (as with running update.php). | drush updatedb | | drup | Apply any database updates required (as with running update.php). | drush updatedb |
| drups | List any pending database updates. | drush updatedb-status | | drups | List any pending database updates. | drush updatedb-status |
| drv | Show drush version. | drush version | | drv | Show drush version. | drush version |
| drvd | Delete a variable. | drush variable-del |
| drvg | Get a list of some or all site variables and values. | drush variable-get |
| drvs | Set a variable. | drush variable-set |
## Functions ## Functions

View File

@ -86,6 +86,9 @@ alias drst="drush core-status"
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 drvg="drush variable-get"
alias drvs="drush variable-set"
# Enable drush autocomplete support # Enable drush autocomplete support
autoload bashcompinit autoload bashcompinit