mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:06:41 +00:00
Always run emacs in 24bit color mode in terminal
This commit is contained in:
@@ -6,8 +6,9 @@ ALTERNATE_EDITOR="nano"
|
|||||||
|
|
||||||
# Set to binary bundled in Emacs.app if it exists
|
# Set to binary bundled in Emacs.app if it exists
|
||||||
if [ -f "/Applications/Emacs.app/Contents/MacOS/bin/emacsclient" ]; then
|
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
|
fi
|
||||||
|
|
||||||
# Execute emacsclient
|
# Execute emacsclient
|
||||||
exec $EMACSCLIENT --alternate-editor=$ALTERNATE_EDITOR "$@"
|
exec env TERM=screen-24bit \
|
||||||
|
$EMACSCLIENT --alternate-editor=$ALTERNATE_EDITOR "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user