chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
55360ba
)
dot/zshrc: Include parser content in the second-level prompt.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 11 May 2018 19:16:47 +0000
(20:16 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 11 May 2018 19:39:07 +0000
(20:39 +0100)
dot/zshrc
patch
|
blob
|
blame
|
history
diff --git
a/dot/zshrc
b/dot/zshrc
index 3cf00dc492eb8e47c3b8d4900baeb77841f2d153..4054803594dddb1bbb6a6b1007c15c61deecbac7 100644
(file)
--- a/
dot/zshrc
+++ b/
dot/zshrc
@@
-18,6
+18,7
@@
__mdw_set_prompt_hacks () {
;;
esac
host=%m dir=" %(6~!%-1~/.../%5~!%~)"
;;
esac
host=%m dir=" %(6~!%-1~/.../%5~!%~)"
+ more=%F{green}%_%f
}
if [ -t 0 ]; then
}
if [ -t 0 ]; then