Preserve helm settings in rancher k8s cli?

If I do a ‘helm repo add …’ through the k8s cli on the rancher GUI, if I open the k8s cli again, all the cli history is lost and the repo is no longer registered with the cli. Is there a way to preserve this?