atuinsh/atuin

`atuin import zsh` imports history in reverse order?

クローズ

#178 opened on 2021/09/01

 (4 件のコメント) (4 件のリアクション) (0 人の担当者)Rust (840 件のフォーク)batch import
bughelp wantedshell-zsh

Repository metrics

Stars
 (29,714 個のスター)
PR merge metrics
 (平均マージ 9d 2h) (30d で 16 merged PRs)

説明

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. 👍🏼

コントリビューターガイド