mirror of
https://github.com/ddworken/hishtory.git
synced 2025-02-02 19:49:33 +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:], " "))
|
query(strings.Join(os.Args[2:], " "))
|
||||||
case "export":
|
case "export":
|
||||||
export(strings.Join(os.Args[2:], " "))
|
export(strings.Join(os.Args[2:], " "))
|
||||||
|
case "redact":
|
||||||
|
fallthrough
|
||||||
|
case "delete":
|
||||||
|
panic("TODO: not yet implemented")
|
||||||
case "init":
|
case "init":
|
||||||
lib.CheckFatalError(lib.Setup(os.Args))
|
lib.CheckFatalError(lib.Setup(os.Args))
|
||||||
case "install":
|
case "install":
|
||||||
|
@ -64,6 +64,7 @@ func BackupAndRestoreWithId(t *testing.T, id string) func() {
|
|||||||
path.Join(homedir, ".bashrc"),
|
path.Join(homedir, ".bashrc"),
|
||||||
}
|
}
|
||||||
for _, file := range copyFiles {
|
for _, file := range copyFiles {
|
||||||
|
touchFile(file)
|
||||||
_ = copy(file, file+id+".bak")
|
_ = copy(file, file+id+".bak")
|
||||||
}
|
}
|
||||||
configureZshrc(homedir)
|
configureZshrc(homedir)
|
||||||
|
Loading…
Reference in New Issue
Block a user