Fixing .bash_dirs interpreting loop