mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
bash prompt with segments (on par with zsh)
This commit is contained in:
parent
edd4797006
commit
c29d55e131
7 changed files with 205 additions and 176 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue