Put rangerlevel on second line in gitlong prompt
This commit is contained in:
parent
e455d85b73
commit
d44f3431a7
1 changed files with 2 additions and 2 deletions
4
bashrc
4
bashrc
|
@ -59,8 +59,8 @@ export PS1nogit='\[\033[00;34m\]┌─╼ \033[00;31m$(rlevel)\[\033[01;35m\]\u\
|
|||
export PS1git='\[\033[00;37m\]$(numjobs ⚒)\[\033[00;37m\]$(gitprompt || dirs +0) \[\033[00;36m\]$(gitpath) \[\033[00;36m\]$(rlevel 🥆 ·)
|
||||
\[\033[00;34m\]↳ \[\033[00m\]'
|
||||
|
||||
export PS1gitlong='\[\033[00;37m\]$(numjobs ⚒ ·)\[\033[00;37m\]$(gitprompt || dirs +0) \[\033[00;37m\]$(git log --oneline --no-decorate -1 2>/dev/null) \[\033[00;36m\]$(rlevel 🥆 ·)
|
||||
\[\033[00;36m\]$(gitpath)\[\033[00;31m\]» \[\033[00m\]'
|
||||
export PS1gitlong='\[\033[00;37m\]$(numjobs ⚒ ·)\[\033[00;37m\]$(gitprompt || dirs +0) \[\033[00;37m\]$(git log --oneline --no-decorate -1 2>/dev/null)
|
||||
\[\033[00;36m\]$(rlevel 🥆 ·)\[\033[00;36m\]$(gitpath)\[\033[00;31m\]» \[\033[00m\]'
|
||||
|
||||
prompt() {
|
||||
name=PS1$1
|
||||
|
|
Loading…
Reference in a new issue