Always run emacs in 24bit color mode in terminal

This commit is contained in:
2020-04-07 01:01:25 +01:00
parent 1f3f3f39ad
commit 8abfd0f818

View File

@@ -6,8 +6,9 @@ ALTERNATE_EDITOR="nano"
# Set to binary bundled in Emacs.app if it exists
if [ -f "/Applications/Emacs.app/Contents/MacOS/bin/emacsclient" ]; then
EMACSCLIENT="env TERM=screen-24bit /Applications/Emacs.app/Contents/MacOS/bin/emacsclient"
EMACSCLIENT="/Applications/Emacs.app/Contents/MacOS/bin/emacsclient"
fi
# Execute emacsclient
exec $EMACSCLIENT --alternate-editor=$ALTERNATE_EDITOR "$@"
exec env TERM=screen-24bit \
$EMACSCLIENT --alternate-editor=$ALTERNATE_EDITOR "$@"