Comment on Ask HN: Looking for a Programable Text EditorparentComments−jmholla3yIf you want to handle `$EDITOR` not being set, at least in bash, you can use one of it's parameter expansion features: ${EDITOR:-vim} Will use vim if `$EDITOR` is unset.
Comments
If you want to handle `$EDITOR` not being set, at least in bash, you can use one of it's parameter expansion features:
Will use vim if `$EDITOR` is unset.