summaryrefslogtreecommitdiff
path: root/bin/v-editor
blob: dc141bc641649bacb5e94fd5dc6ffee45589b436 (plain)
1
2
3
4
5
6
7
#!/bin/sh

if [ -n "$DISPLAY" ]; then
	${VISUAL:-$SELECTED_EDITOR} $@
else
	${EDITOR:-$SELECTED_EDITOR} $@
fi