Backup and restore .zhistory file in tests

This commit is contained in:
David Dworken 2024-04-14 09:57:05 -07:00
parent 239d767ae0
commit 44b4cc6df6
No known key found for this signature in database

View File

@ -87,6 +87,7 @@ func BackupAndRestoreWithId(t testing.TB, id string) func() {
path.Join(homedir, data.GetHishtoryPath(), "hishtory"),
path.Join(homedir, ".bash_history"),
path.Join(homedir, ".zsh_history"),
path.Join(homedir, ".zhistory"),
path.Join(homedir, ".local/share/fish/fish_history"),
}
for _, file := range renameFiles {