mirror of
https://github.com/ddworken/hishtory.git
synced 2025-08-07 06:16:02 +02:00
Skip modifying shell configs during the hishtory update process, since the shell configs are already set up at that point and haven't ever needed to change
This commit is contained in:
@ -112,7 +112,7 @@ func update(ctx context.Context) error {
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to chmod +x the update (stdout=%#v, stderr=%#v): %w", stdout.String(), stderr.String(), err)
|
||||
}
|
||||
cmd = exec.Command(getTmpClientPath(), "install")
|
||||
cmd = exec.Command(getTmpClientPath(), "install", "--skip-config-modification")
|
||||
cmd.Stdout = os.Stdout
|
||||
stderr = bytes.Buffer{}
|
||||
cmd.Stdin = os.Stdin
|
||||
|
Reference in New Issue
Block a user