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:
David Dworken 2024-10-19 05:05:46 -07:00
parent 5996b832a3
commit e8e167ed00
No known key found for this signature in database

View File

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