using sublime text as your knife editor

I frequently get tripped up by this - especially when i'm trying to edit a large JSON document for a node and want a graphical editor.

this:

export EDITOR=subl
knife node edit mr-node

won't work:

Node not updated, skipping node save

subl need some additional switches. try this:

export EDITOR="subl -n -w"
knife node edit mr-node
Kelly Brownsberger

Kelly Brownsberger

I'm a passionate technologist, father, husband, and life long learner. I know how to laugh and try to always leave things better than I found them.
Photo by Blake Richard Verdoorn on Unsplash