From 4db39fd4f88c17faf4e160019baf1094c74b283d Mon Sep 17 00:00:00 2001 From: Jacobi Carter Date: Sat, 12 May 2012 01:41:34 -0500 Subject: [PATCH] +cdpath --- zsh/prompt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zsh/prompt b/zsh/prompt index 56ea417..f73fe17 100755 --- a/zsh/prompt +++ b/zsh/prompt @@ -161,9 +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 ) else PROMPT=${RESETCOLOR}${HOSTCOLOR}$'%n@'${LHOSTNAME}${BLACKCOLOR}':'${PATHCOLOR}$'%45<...<%~ %(?..'${BOLDERRORCOLOR}$')%(!.#.$) '${RESETCOLOR} RPROMPT=${RESETCOLOR}$'%1(j.'${JOBCOLOR}$'[%j].)%(?..'${ERRORCOLOR}$'[%?])'${CLOCKCOLOR}$'[%t]'${RESETCOLOR} + cdpath=( . ~ ~/Giftikigit ) fi } updateprompt