mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-04-13 09:30:06 +00:00
Fix.
This commit is contained in:
parent
a58b72a801
commit
3278ecbdab
1 changed files with 2 additions and 2 deletions
|
@ -161,11 +161,11 @@ function updateprompt () {
|
|||
local stats="$(git_prompt_status)"
|
||||
PROMPT=${RESETCOLOR}${HOSTCOLOR}$'%n@'${LHOSTNAME}${BLACKCOLOR}':'${PATHCOLOR}"${reponame} ${RED}${branch}${YELLOW}${stats}${BLACKCOLOR}${additional} ${PATHCOLOR}"$'%45<...<'"${repopath}"' %(?..'${BOLDERRORCOLOR}$')%(!.#.$) '${RESETCOLOR}
|
||||
RPROMPT=${RESETCOLOR}${stashpart}${remotepart}$'%1(j.'${JOBCOLOR}$'[%j].)%(?..'${ERRORCOLOR}$'[%?])'${CLOCKCOLOR}$'[%t]'${RESETCOLOR}
|
||||
cdpath=( . "$repodir" ~ ~/Giftikigit ~/launchrockgit .. )
|
||||
cdpath=( . "$repodir" ~ ~/Giftikigit ~/launchrockgit ~/loagit ~/git .. )
|
||||
else
|
||||
PROMPT=${RESETCOLOR}${HOSTCOLOR}$'%n@'${LHOSTNAME}${BLACKCOLOR}':'${PATHCOLOR}$'%45<...<%~ %(?..'${BOLDERRORCOLOR}$')%(!.#.$) '${RESETCOLOR}
|
||||
RPROMPT=${RESETCOLOR}$'%1(j.'${JOBCOLOR}$'[%j].)%(?..'${ERRORCOLOR}$'[%?])'${CLOCKCOLOR}$'[%t]'${RESETCOLOR}
|
||||
cdpath=( . ~ ~/Giftikigit )
|
||||
cdpath=( . ~ ~/Giftikigit ~/launchrockgit ~/loagit ~/git .. )
|
||||
fi
|
||||
}
|
||||
updateprompt
|
||||
|
|
Loading…
Add table
Reference in a new issue