mirror of
https://github.com/ddworken/hishtory.git
synced 2025-08-16 09:58:02 +02:00
no context pointers
This commit is contained in:
@ -475,7 +475,7 @@ func copyFile(src, dst string) error {
|
||||
return destination.Close()
|
||||
}
|
||||
|
||||
func uninstall(ctx *context.Context) error {
|
||||
func uninstall(ctx context.Context) error {
|
||||
homedir := hctx.GetHome(ctx)
|
||||
err := stripLines(path.Join(homedir, ".bashrc"), getBashConfigFragment(homedir))
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user