1
0
mirror of https://github.com/artizirk/dotfiles.git synced 2024-11-22 08:20: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
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