mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-02 11:39:24 +01:00
Fix another actions only bug + add todo
This commit is contained in:
parent
a445118e91
commit
6c6acc5473
@ -30,6 +30,10 @@ func main() {
|
||||
query(strings.Join(os.Args[2:], " "))
|
||||
case "export":
|
||||
export(strings.Join(os.Args[2:], " "))
|
||||
case "redact":
|
||||
fallthrough
|
||||
case "delete":
|
||||
panic("TODO: not yet implemented")
|
||||
case "init":
|
||||
lib.CheckFatalError(lib.Setup(os.Args))
|
||||
case "install":
|
||||
|
@ -64,6 +64,7 @@ func BackupAndRestoreWithId(t *testing.T, id string) func() {
|
||||
path.Join(homedir, ".bashrc"),
|
||||
}
|
||||
for _, file := range copyFiles {
|
||||
touchFile(file)
|
||||
_ = copy(file, file+id+".bak")
|
||||
}
|
||||
configureZshrc(homedir)
|
||||
|
Loading…
Reference in New Issue
Block a user