1 2 3 4 5 6 7
function prompt.bang if ! string match -eq linux $TERM prompt.add \n$bang_symbol\ black else prompt.add \n\#\ brred end end