Introduction: The command line, a.k.a. the terminal, is a powerful tool for interacting with your computer, especially when working with tools like OpenShift (oc). One aspect of your command-line experience that you might not think much about is the text editor you use for tasks like editing configuration files or composing longer messages. In this blog post, we’ll explore how to set your preferred text editor for oc edit
commands by customizing the EDITOR
environment variable. We’ll explain what the oc
command is, demystify the concept of shell configuration files, discuss the importance of the EDITOR
variable, and suggest some common CLI editors.
Read oc edit – How To Customize Your OpenShift / Kubernetes CLI Editor.