aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2015-07-13 04:07:59 +0300
committerBen Hilburn <bhilburn@gmail.com>2015-07-13 04:07:59 +0300
commit20cb4a245ebed1f4ee7bd08494cc6493660023d9 (patch)
tree7826c89b65d920da6a7b2442127b420e0939cf7e /README.md
parent614422533062a7f945e9654dce69de87c77b9e24 (diff)
parent50bca4bf2571f4fd427b69e835fa4536ae74fa8f (diff)
Merging @dritter's work to allow shortened dir segment.
This is PR #54. Merge remote-tracking branch 'dritter/dritter/shorten_dir_path'
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index e4cacfb1..42c6c9a0 100644
--- a/README.md
+++ b/README.md
@@ -260,6 +260,14 @@ elements (it is by default), and define a `DEFAULT_USER` in your `~/.zshrc`:
export DEFAULT_USER=<your username>
+#### The `dir` segment
+
+The `dir` segment shows the current working directory. You can limit the output
+to a certain length:
+
+ # Limit to the last two folders
+ POWERLEVEL9K_SHORTEN_DIR_LENGTH=2
+
#### The 'time' segment
By default the time is show in 'H:M:S' format. If you want to change it,