10 lines
202 B
Bash
Executable File
10 lines
202 B
Bash
Executable File
#!/bin/bash
|
|
echo "Display: $DISPLAY"
|
|
if [ -z "$DISPLAY" ]; then
|
|
# echo "Searching for text Emacs"
|
|
emacsclient -a "" -t "$@"
|
|
else
|
|
# echo "Searching for GUI Emacs"
|
|
emacsclient -n -a "" -c "$@"
|
|
fi
|