summary refs log tree commit diff
path: root/zshrc
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-04-08 15:38:05 -0700
committerFranck Cuny <franckcuny@gmail.com>2016-04-08 15:38:05 -0700
commit1390b8b2e29a25081046c62af13e693eab885d1a (patch)
tree3e66f946a8f18b66efa1b8c98e2a586dbafec69a /zshrc
parent[emacs] Add configuration for ansi-term (diff)
downloademacs.d-1390b8b2e29a25081046c62af13e693eab885d1a.tar.gz
[zsh] display the last 3 parts of the path.
It makes it easier to spot where we are.
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/zshrc b/zshrc
index 95f0f72..400cb2a 100644
--- a/zshrc
+++ b/zshrc
@@ -14,7 +14,7 @@ autoload -U select-word-style
 select-word-style bash
 
 # keep the prompt simple and short
-PROMPT="%1~ %# "
+PROMPT="%3~ %# "
 
 # emacs style
 bindkey -e