summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-01-07 08:54:51 +0800
committerZhineng Li <[email protected]>2026-01-07 08:54:51 +0800
commitcc8d87d94db6f9f4f09bcbf1be5ed1b10ec943a6 (patch)
tree59450e137a75bdcb4801bb50c5739d2a6829fed8
parent9bb9421f8cb15f7874b0cf3a704a51482a26c2af (diff)
auto cd
-rw-r--r--.zshrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index 5beef03..f37a870 100644
--- a/.zshrc
+++ b/.zshrc
@@ -1,3 +1,6 @@
+# Enable automatic directory changing
+setopt autocd
+
PROMPT='%(?.%F{77}.%F{160})%#%f '
RPROMPT='%F{8}%~%f'