Open iandunn opened 4 years ago
I was searching how to add current directory. Solution: z --add $PWD
.
if you're in $PWD it's already been added. hit enter to add it some more
doing z --add $PWD
would just weight it twice, at best, and might probably litter a tmp file
For some reason I get in and out of a dir several times (any dir), but it still doesn't get added (listed on z -l
). The only way I could force adding it is by z --add $PWD
.
I couldn't find which version of z I'm running. Nothing on z.sh, nor z --version
/-v
option (maybe this should be another issue?).
Can you please share how you are loading z.sh into your shell?
On my .bashrc
I have something like
if [ -f ~/Cloudfolder/.mybashrc ]; then
. ~/Cloudfolder/.mybashrc
fi
And there (on .mybashrc
) I added
source /home/pablo/Cloudfolder/bin/z.sh
z --add {full path}
can be used to manually add a folder to the dataset, but this isn't documented in the man page/README.