This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
*/ | |
function ssh_drush_command() { | |
$items['ssh-blah'] = array( | |
'description' => '', | |
'arguments' => array( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__drush_ps1() { | |
local s | |
s="$(drush site-get)" | |
[[ -n "$s" ]] && printf "${1:- (%s)}" "$s" | |
} | |
drushprompt='$(__drush_ps1 "[%s]")' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* | |
*/ | |
define('DRUSH_VIEWS_DEFAULT_PATH', "export/views"); | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Implementation of hook_drush_command(). | |
*/ | |
function updaterollback_drush_command() { | |
$items['update-get-schema'] = array( | |
'description' => 'Drop all tables in a given database.', | |
'arguments' => array( | |
'module' => 'module', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Loads a node from cck values. | |
*/ | |
function welcom_node_load($node_data, $type = NULL) { | |
// Create a new view | |
$view = views_new_view(); | |
$view->name = 'cck_node_lookup'; | |
$view->base_table = 'node'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Janus undo-ing | |
" Switch buffers without saving. | |
set hidden | |
" Having this on breaks highlighting text with visual mode and then hitting d | |
" to delete or = to indent. | |
unlet macvim_hig_shift_movement | |
let g:syntastic_auto_jump=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Command callback for sql-import. | |
*/ | |
function drush_sql_import($local_file) { | |
if (!drush_confirm(dt('Do you really want to drop all tables and import !dump_file?', array('!dump_file' => $local_file)))) { | |
return drush_user_abort(); | |
} | |
_drush_sql_drop(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* Provide Drush integration for release building and dependency building. | |
*/ | |
/** | |
* Implements hook_drush_command(). | |
*/ | |
function registry_rebuild_drush_command() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* XHProfRuns_Default is the default implementation of the | |
* iXHProfRuns interface for saving/fetching XHProf runs. | |
* | |
* It stores/retrieves runs to/from a filesystem directory | |
* specified by the "xhprof.output_dir" ini parameter. | |
* | |
* @author Kannan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/commands/core/sitealias.drush.inc b/commands/core/sitealias.drush.inc | |
index 5352fd5..4f1ae22 100644 | |
--- a/commands/core/sitealias.drush.inc | |
+++ b/commands/core/sitealias.drush.inc | |
@@ -39,6 +39,21 @@ function sitealias_drush_command() { | |
), | |
'topics' => array('docs-aliases'), | |
); | |
+ $items['site-set'] = array( | |
+ 'description' => '', |