From 46259edd2d39e2513b77eea1b9ce83a2c5b826c7 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 14 Jun 2022 22:15:26 -0700 Subject: Update ZSH prompt Include a shortened version of the current directory. --- zsh/zshrc.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zsh/zshrc.org') 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 -- cgit v1.2.3-54-g00ecf