#/bin/sh FILE=$(locate-config) [ -z "$FILE" ] || [ ! -f "$FILE" ] && exit 1 ${TERMINAL} -e ${EDITOR} ${FILE}