From 77624f4e387872f4ff0614c8fdb06dae6438b45c Mon Sep 17 00:00:00 2001 From: TEC Date: Mon, 4 Jan 2021 00:17:13 +0800 Subject: [PATCH] Emacsclient script typo: bogus condition negation --- config.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.org b/config.org index 0ceced8..9406f18 100644 --- a/config.org +++ b/config.org @@ -1027,7 +1027,7 @@ if [ ! "${#args[*]}" = 0 ] && [ "${args[-1]}" = "-" ]; then args+=(--eval "(let ((b (generate-new-buffer \"*stdin*\"))) (switch-to-buffer b) (insert-file-contents \"$TMP\") (delete-file \"$TMP\")${stdin_mode})") fi -if [ ! -z "$DISPLAY" ] || $force_tty; then +if [ -z "$DISPLAY" ] || $force_tty; then # detect terminals with sneaky 24-bit support if { [ "$COLORTERM" = truecolor ] || [ "$COLORTERM" = 24bit ]; } && [ $(tput colors 2>/dev/null) -lt 257 ]; then if echo "$TERM" | grep -q "^\w\+-[0-9]"; then