From f8ec0d14d3e8617060251b383046a0014e4280a4 Mon Sep 17 00:00:00 2001 From: eeemsi Date: Tue, 10 Jan 2023 18:51:12 +0100 Subject: [PATCH] fix (zshrc): enable completion while using cd - --- zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zshrc b/zshrc index 7babe23..a708f3e 100644 --- a/zshrc +++ b/zshrc @@ -13,6 +13,9 @@ zstyle ':vcs_info:*' enable git # Specify how it should be formatted zstyle ':vcs_info:*' formats '%b' +# Make cd push the old directory onto the directory stack +setopt AUTO_PUSHD + # Exchanges the meanings of "+" and "-" when used with a number to specify a directory in the stack setopt PUSHD_MINUS