You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
168 B
Bash
9 lines
168 B
Bash
12 months ago
|
#!/bin/bash
|
||
|
|
||
|
emacsclient -n -e "(> (length (frame-list)) 1)" | grep -q t
|
||
|
if [ "$?" = "1" ]; then
|
||
|
emacsclient -c -n -a "" "$@"
|
||
|
else
|
||
|
emacsclient -n -a "" "$@"
|
||
|
fi
|