atuinsh/atuin

`atuin import zsh` imports history in reverse order?

已关闭

#178 创建于 2021年9月1日

 (4 条评论) (4 个反应) (0 位负责人)Rust (840 个派生)batch import
bughelp wantedshell-zsh

仓库指标

星标
 (29,714 个星标)
PR 合并指标
 (平均合并 9天 2小时) (30 天内合并 16 个 PR)

描述

I've just installed atuin in my Ubuntu 20.04, ZSH 5.8 pc using the deb package in Releases.

Running atuin import zsh (or auto) successfully imports my command history, but the imported commands then show up in reverse order when searching it through atuin. That makes no sense... Commands saved after the import and correctly appended to the history file appear in the right order.

Is it a timestamping issue? My history file had no timestamp or extra info, just the plain commands. I noted that atuin adds timestamps to ZSH history file.

For now, I've just reverted the history file with tac before importing and got it done. 👍🏼

贡献者指南