Enable 24bit color support for Emacs in Terminal

This commit is contained in:
2020-02-02 23:43:47 +00:00
parent 1713b45170
commit 02cd1b51eb
5 changed files with 46 additions and 3 deletions

View File

@@ -4,11 +4,11 @@
# OS X systems.
if [ -f "/Applications/Emacs.app/Contents/MacOS/Emacs" ]; then
alias emacs="/Applications/Emacs.app/Contents/MacOS/Emacs -nw"
alias emacs="env TERM=screen-24bit /Applications/Emacs.app/Contents/MacOS/Emacs -nw"
fi
if [ -f "/Applications/Emacs.app/Contents/MacOS/bin/emacsclient" ]; then
alias emacsclient="/Applications/Emacs.app/Contents/MacOS/bin/emacsclient"
alias emacsclient="env TERM=screen-24bit /Applications/Emacs.app/Contents/MacOS/bin/emacsclient"
fi
# *nix systems.