commit 19ec15e4316c1f36a533f9fcf971923476fef138
parent 1bd636146dec4dc13c02f4aa33e9357e27458831
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date: Sun, 15 Dec 2019 23:15:11 +0100
Show current dir in right prompt
instead of current time.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/zsh/zshrc b/zsh/zshrc
@@ -114,7 +114,8 @@ GIT_PROMPT_MODIFIED="+" # tracked files
GIT_PROMPT_STAGED="->" # staged changes present = ready for "git push"
# Right prompt with exit status of previous command if not successful
-RPROMPT='$(bg_process) $(git_prompt_string) %(?..[%?]) (%*)'
+# Also show background process, git information and current dir
+RPROMPT='$(bg_process) $(git_prompt_string) %(?..[%?]) [%1~/]'
#################
##### Misc ######