bash prompt with segments (on par with zsh)

This commit is contained in:
Loic Nageleisen 2014-03-03 15:19:04 +01:00
parent edd4797006
commit c29d55e131
7 changed files with 205 additions and 176 deletions

View file

@ -1,3 +1,5 @@
# prompt segments: bash and zsh
#POWERLINE_TRI_LEFT_FULL=''
#POWERLINE_TRI_LEFT_EMPTY=''
#POWERLINE_TRI_RIGHT_FULL=''
@ -46,3 +48,5 @@ prompt_subsegment() {
echo -n " $sep "
[[ -n $1 ]] && print -Pn $1
}
# vim: ft=sh: