larkery / zsh-histdb

A slightly better history for zsh
MIT License
1.27k stars 75 forks source link

migration backup is broken #49

Closed phiresky closed 5 years ago

phiresky commented 5 years ago

No backup is created. I think the migration output is also wrong since my db size doubled from 17M to 34M

https://github.com/larkery/zsh-histdb/blob/0a7a52a59fbc3244392ef5d19ef7c4d6f0b8838b/histdb-migrate#L13

should probably be sqlite3 "${BACKUP_FILE}" < "${MIGRATION_FILENAME}" ? @m42e

phiresky commented 5 years ago

nope, misread the code. that line is fine, looks like making the backup is just missing?