1
0
mirror of https://github.com/artizirk/dotfiles.git synced 2024-11-22 16:30:59 +02:00

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

5
.zshrc
View File

@ -60,7 +60,10 @@ function chpwd_leave_profile_krakul() {
} }
chpwd_profiles 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() { function hash_projects() {
# hash everything under krakul projects # hash everything under krakul projects
local project_folder local project_folder