#!/bash # This part of the prompt is taken from p4-completion.bashrc. # It is shown only if __ps1_p4 is 1. By default it is 0. __ps1_p4=${__ps1_p4:-0} __ps1_p4_colour256="0;38;5;142" __ps1_p4_colour88="0;38;5;56" __ps1_p4_colour="0;33" function __ps1_p4() { [ "$__ps1_p4" = "1" ] || return $1 __p4_ps1 "$(__ps1_prefix $1 __ps1_p4)"'%s' return $1 }