a lot of little things
This commit is contained in:
parent
c4cd1393a5
commit
69d1f1319d
9 changed files with 25 additions and 15 deletions
11
scripts/emacsd
Executable file
11
scripts/emacsd
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
runem=$(pgrep -c emacs)
|
||||
|
||||
if [ $runem -gt 0 ]; then
|
||||
echo "emacs is running!"
|
||||
else
|
||||
echo "emacs isn't running! Starting it..."
|
||||
emacs --daemon &
|
||||
echo "emacs started."
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue