From cdbb33587abb03ca030eabe7fa42fc3ddedc7046 Mon Sep 17 00:00:00 2001 From: Alec Rust Date: Sat, 26 Oct 2024 18:51:54 +0100 Subject: [PATCH] Override cd command to use zoxide --- dotfiles/.zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dotfiles/.zshrc b/dotfiles/.zshrc index 8189acd..9622827 100644 --- a/dotfiles/.zshrc +++ b/dotfiles/.zshrc @@ -6,6 +6,9 @@ export HIST_STAMPS="dd.mm.yyyy" # Set VSCode as the default editor export EDITOR="code" +# Use zoxide for cd command +export ZOXIDE_CMD_OVERRIDE=cd + # Set vars for React Native development export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home export ANDROID_HOME=$HOME/Library/Android/sdk