Clear dir hash before adding our own entries

This commit is contained in:
Arti Zirk 2021-10-13 17:37:28 +03:00
parent c7a930dac7
commit 59db176388
1 changed files with 5 additions and 2 deletions

5
.zshrc
View File

@ -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