Mercurial > dotfiles
annotate .config/systemd/user/emacs.service @ 520:9af1fc9b713c
zsh: enable iterm2 integration
This is the iterm2 integration script as of today. Squinting a bit,
this looks like the version of the file from
https://github.com/gnachman/iTerm2/commit/3d8173763e1e7f53c08a7da52fc92db4e036395a,
which is the most recent edit to the file on github.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Thu, 14 Jul 2022 14:08:25 -0400 |
parents | 1bb1c44ce49c |
children |
rev | line source |
---|---|
493
1bb1c44ce49c
systemd: unit file for auto-starting emacs daemon
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
1 # systemctl enable --user emacs |
1bb1c44ce49c
systemd: unit file for auto-starting emacs daemon
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
2 # systemctl start --user emacs |
1bb1c44ce49c
systemd: unit file for auto-starting emacs daemon
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
3 [Unit] |
1bb1c44ce49c
systemd: unit file for auto-starting emacs daemon
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
4 Description=Emacs text editor |
1bb1c44ce49c
systemd: unit file for auto-starting emacs daemon
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
5 Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/ |
1bb1c44ce49c
systemd: unit file for auto-starting emacs daemon
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
6 |
1bb1c44ce49c
systemd: unit file for auto-starting emacs daemon
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
7 [Service] |
1bb1c44ce49c
systemd: unit file for auto-starting emacs daemon
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
8 Type=forking |
1bb1c44ce49c
systemd: unit file for auto-starting emacs daemon
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
9 ExecStart=/usr/bin/emacs --daemon |
1bb1c44ce49c
systemd: unit file for auto-starting emacs daemon
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
10 ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)" |
1bb1c44ce49c
systemd: unit file for auto-starting emacs daemon
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
11 Environment=SSH_AUTH_SOCK=%t/keyring/ssh |
1bb1c44ce49c
systemd: unit file for auto-starting emacs daemon
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
12 Restart=on-failure |
1bb1c44ce49c
systemd: unit file for auto-starting emacs daemon
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
13 |
1bb1c44ce49c
systemd: unit file for auto-starting emacs daemon
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
14 [Install] |
1bb1c44ce49c
systemd: unit file for auto-starting emacs daemon
Augie Fackler <raf@durin42.com>
parents:
diff
changeset
|
15 WantedBy=default.target |