diff --git a/crates/atuin-client/src/import/zsh_histdb.rs b/crates/atuin-client/src/import/zsh_histdb.rs index eb72baa3..05889ff4 100644 --- a/crates/atuin-client/src/import/zsh_histdb.rs +++ b/crates/atuin-client/src/import/zsh_histdb.rs @@ -84,7 +84,7 @@ async fn hist_from_db_conn(pool: Pool) -> Result> FROM history LEFT JOIN commands ON history.command_id = commands.id LEFT JOIN places ON history.place_id = places.id - ORDER BY history.start_time + ORDER BY history.id "#; let histdb_vec: Vec = sqlx::query_as::<_, HistDbEntry>(query) .fetch_all(&pool)