From 59db176388749b64e7f737be566f802ed39ba0da Mon Sep 17 00:00:00 2001 From: Arti Zirk Date: Wed, 13 Oct 2021 17:37:28 +0300 Subject: [PATCH] Clear dir hash before adding our own entries --- .zshrc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index 46e0732..f2a6cf9 100644 --- a/.zshrc +++ b/.zshrc @@ -60,7 +60,10 @@ function chpwd_leave_profile_krakul() { } chpwd_profiles -hash -d krakul=~/code/krakul # shorten dir name in prompt +# First clear grml-zsh-config provided directory hashes +hash -d -r +# shorten dir name in prompt +hash -d krakul=~/code/krakul function hash_projects() { # hash everything under krakul projects local project_folder @@ -104,7 +107,7 @@ xsource ~/.config/zsh/zsh-autoenv/autoenv.zsh xsource /etc/profile.d/vte.sh # gitflow-zshcompletion-avh xsource /usr/share/zsh/site-functions/git-flow-completion.zsh -#pkg not found +# pkg not found xsource /usr/share/doc/pkgfile/command-not-found.zsh