if exists('b:current_syntax') finish endif syntax region consoleCommand matchgroup=consolePrompt start='^\s*\$' skip='\\$' end='$' highlight link consoleCommand Special highlight consolePrompt cterm=bold gui=bold