[emacs] Keep emacs from stumbling over the foot TERM
This commit is contained in:
parent
01f89222bb
commit
d909ad9320
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
PARENT_COMMAND=$(ps -o comm= $PPID)
|
||||
TTY=""
|
||||
export TERM=xterm-24bit
|
||||
|
||||
if [ "${PARENT_COMMAND}" == $(basename $SHELL) ]; then
|
||||
exec emacsclient --create-frame --tty "$@"
|
||||
|
|
Loading…
Reference in New Issue