aboutsummaryrefslogtreecommitdiffstats
path: root/zsh/zshrc.org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2022-06-14 22:15:26 -0700
committerGravatar Tom Willemse2022-06-14 22:16:49 -0700
commit46259edd2d39e2513b77eea1b9ce83a2c5b826c7 (patch)
tree0d8366e7d3850af07edd9ea9e7daf554be62860f /zsh/zshrc.org
parent7c507732f7c3b5f3fe0caea53e28cf4ad5d3d93a (diff)
downloadnew-dotfiles-46259edd2d39e2513b77eea1b9ce83a2c5b826c7.tar.gz
new-dotfiles-46259edd2d39e2513b77eea1b9ce83a2c5b826c7.zip
Update ZSH prompt
Include a shortened version of the current directory.
Diffstat (limited to 'zsh/zshrc.org')
-rw-r--r--zsh/zshrc.org2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/zshrc.org b/zsh/zshrc.org
index d6604de..68dca58 100644
--- a/zsh/zshrc.org
+++ b/zsh/zshrc.org
@@ -207,6 +207,6 @@ Autoload any ZSH function from =$HOME/.zsh/functions=.
Set the actual prompts.
#+begin_src sh
- PROMPT='%T %2~ %B%(?.%F{2}.%F{1})→%b '
+ PROMPT='%T $(spwd) %B%(?.%F{2}.%F{1}[%?])>%b%f '
RPROMPT='${vcs_info_msg_0_}'
#+end_src