Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.z file not getting created #324

Open
JoeIngle opened this issue Apr 20, 2023 · 3 comments
Open

.z file not getting created #324

JoeIngle opened this issue Apr 20, 2023 · 3 comments

Comments

@JoeIngle
Copy link

The .z database file isn't getting initialised on my machine. I can't work out why not.

I've put z.sh in my $HOME/.local/bin and sourced it in .bashrc, however, nothing happens when I navigate around in the shell and no .z file gets created at the default $HOME/.z location?

@JoeIngle
Copy link
Author

Just to add to this, if I source z.sh directly from the terminal it then works, if I source it from within .bashrc it doesn't.

@Lockszmith-GH
Copy link

Lockszmith-GH commented Apr 24, 2023

Not the maintainer, and not sure why, but here is how I would troubleshoot -

before your source it, run:

set -x

don't forget to add

set +x

What this will do, is show the output of every command afterwards. I would put an echo before and after, this should help you identify where things are going arye.

@MadHatterENV
Copy link

same issue here on fresh debian12 installation, bash v5.2.15-1, with starship prompt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants