Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

change default kube editor nano

#To set Visual Studio Code as a default editor.
export KUBE_EDITOR='open -a "Visual Studio Code" --wait'

#To set Sublime Text as a default editor.
export KUBE_EDITOR='open -a "Sublime Text" --wait'

#To set Atom as a default editor.
export KUBE_EDITOR='open -a "Atom" --wait'

export KUBE_EDITOR="nano"
Source by shivasg.medium.com #
 
PREVIOUS NEXT
Tagged: #change #default #kube #editor #nano
ADD COMMENT
Topic
Name
8+5 =