Put ranger level at end in git bash prompt

This commit is contained in:
Talia 2020-02-04 16:03:51 +01:00
parent be452c5059
commit 4a9b02999f

2
bashrc
View file

@ -47,7 +47,7 @@ export PS1tiny='\[\033[00;37m\]$(dirs +0 | sed -e "s/.*\\(\\(\\/.*\\)\\{2\\}\\)$
export PS1nogit='\[\033[00;34m\]┌─╼ \033[00;31m$(rlevel)\[\033[01;35m\]\u\[\033[00;34m\]@\[\033[01;35m\]\h \[\033[00;33m\]\$ \[\033[01;35m\]\w \[\033[01;34m\]`find -mindepth 1 -maxdepth 1 -type d | wc -l`\[\033[00;34m\]d \[\033[01;32m\]`find -maxdepth 1 -type f | wc -l`\[\033[00;32m\]f\[\033[00m\]
\[\033[00;34m\]└╼ \[\033[00m\]'
export PS1git='\[\033[00;36m\]$(rlevel 🥆)\[\033[00;37m\]$(gitprompt || dirs +0) \[\033[00;36m\]$(gitpath)
export PS1git='\[\033[00;37m\]$(gitprompt || dirs +0) \[\033[00;36m\]$(gitpath) \[\033[00;36m\]$(rlevel 🥆)
\[\033[00;34m\]\[\033[00m\]'
prompt() {