- Replace hardcoded nano with ${EDITOR:-nano} for file editing - Default to nano if no EDITOR enviornmet variable is set