You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It uses a frecency algorithm so the scores can be imported by converting it to the z format first.
On MacOs/linux the jump database is ~/.jump/scores.json
Python can output a format that doesn't comply with standard strptime, so the jq script has to fix that by stripping out the microseconds fixing the timezone offset.
This version removes the local timezone offset altogether, using the machine's local offset.
This definition keeps the local timezone by stripping the colon out of the offset (if you care about exact age AND you move from timezone to timezone):
I moved my data from gsamokovarov's
jump
to zoxide using the followingjq
command.The interesting parts are
z
format first.~/.jump/scores.json
strptime
, so thejq
script has to fix that by stripping out the microseconds fixing the timezone offset.This version removes the local timezone offset altogether, using the machine's local offset.
This definition keeps the local timezone by stripping the colon out of the offset (if you care about exact age AND you move from timezone to timezone):
[Edit] Here is a snippet of my
~/.jump/scores.json
to show the structure.The text was updated successfully, but these errors were encountered: