Locations not being stored
aarsenault opened this issue · 0 comments
aarsenault commented
Installed autojump (autojump v22.5.1
) from homebrew. I moved around my file system but no locations are being stored.
$ j -s
always returns
________________________________________
0: total weight
0: number of entries
0.00: current directory weight
data: /Users/me/Library/autojump/autojump.txt
I'm using:
$ autojump -v
autojump v22.5.1
Here is my definition of j
$ type -a j
j is a function
j ()
{
if [[ ${1} == -* ]] && [[ ${1} != "--" ]]; then
autojump ${@};
return;
fi;
output="$(autojump ${@})";
if [[ -d "${output}" ]]; then
if [ -t 1 ]; then
echo -e "\\033[31m${output}\\033[0m";
else
echo -e "${output}";
fi;
cd "${output}";
else
echo "autojump: directory '${@}' not found";
echo "\n${output}\n";
echo "Try \`autojump --help\` for more information.";
false;
fi
}
the post install instructions from homebrew told me to include
[ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh
in my .bashrc
which I did.
I also tried scrapping the homebrew version and cloning the package and installing that way. I still see the same behaviour.
My OS is Mojave v. 10.14.3
What would be the next steps to debug and get this working?
Thanks!