mirror of
https://github.com/ddworken/hishtory.git
synced 2024-11-26 02:03:37 +01:00
Add comment to document a somewhat confusing function
This commit is contained in:
parent
1e43de689f
commit
63dea34007
@ -174,6 +174,9 @@ func install(secretKey string, offline bool) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Handles people running `hishtory update` from an old version of hishtory that
|
||||
// doesn't support the control-r integration, so that they'll get control-r enabled
|
||||
// but someone who has it explicitly disabled will keep it that way.
|
||||
func handleUpgradedFeatures() error {
|
||||
configContents, err := hctx.GetConfigContents()
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user