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
# SEPARATOR | |
# ############################## | |
separator() { | |
w=$(stty size | cut -d" " -f2) # width of the terminal | |
for ((x = 0; x < w; x++)); do | |
printf '\e[0;90m'%s - #dark gray | |
done | |
} | |
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
// remove html class from form item | |
function theme_name_form_alter(&$form, &$form_state, $form_id) { | |
switch ($form_id) { | |
case 'form_id': | |
$classes = &$form['actions']['item_name']['#attributes']['class']; | |
$classes = array_filter($classes , function($e){ | |
return $e != 'class_to_remove'; | |
}); | |
break; | |
} |
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
windowTitle = "$TM_DIRECTORY/$TM_DISPLAYNAME" | |
wrapColumn = 80 | |
showWrapColumn = true | |
fontName = "Andale mono" | |
fontSize = 18 | |
tabSize = 2 | |
softTabs = true | |
[ text ] |