fix a issue, when profile not end with newline
@ -2257,6 +2257,9 @@ _setopt() {
if [ ! -f "$__conf" ]; then
touch "$__conf"
fi
if [ -n "$(tail -c 1 <"$__conf")" ]; then
echo >>"$__conf"
if grep -n "^$__opt$__sep" "$__conf" >/dev/null; then
_debug3 OK