mirror of
https://github.com/ddworken/hishtory.git
synced 2024-12-28 09:48:59 +01:00
Backup and restore .zhistory file in tests
This commit is contained in:
parent
239d767ae0
commit
44b4cc6df6
@ -87,6 +87,7 @@ func BackupAndRestoreWithId(t testing.TB, id string) func() {
|
|||||||
path.Join(homedir, data.GetHishtoryPath(), "hishtory"),
|
path.Join(homedir, data.GetHishtoryPath(), "hishtory"),
|
||||||
path.Join(homedir, ".bash_history"),
|
path.Join(homedir, ".bash_history"),
|
||||||
path.Join(homedir, ".zsh_history"),
|
path.Join(homedir, ".zsh_history"),
|
||||||
|
path.Join(homedir, ".zhistory"),
|
||||||
path.Join(homedir, ".local/share/fish/fish_history"),
|
path.Join(homedir, ".local/share/fish/fish_history"),
|
||||||
}
|
}
|
||||||
for _, file := range renameFiles {
|
for _, file := range renameFiles {
|
||||||
|
Loading…
Reference in New Issue
Block a user