Fix another actions only bug + add todo

This commit is contained in:
David Dworken 2022-09-18 09:14:34 -07:00
parent a445118e91
commit 6c6acc5473
2 changed files with 5 additions and 0 deletions

View File

@ -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":

View File

@ -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)