mirror of
https://github.com/ddworken/hishtory.git
synced 2025-03-14 15:28:21 +01: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:
parent
5996b832a3
commit
e8e167ed00
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user