Set EDITOR in config.fish, use system-installed ssh-agent.service

This commit is contained in:
Anthony Wang 2024-02-13 16:57:43 -05:00
parent d0d26844a2
commit b2d4a6e496
Signed by: a
SSH key fingerprint: SHA256:B5ADfMCqd2M7d/jtXDoihAV/yfXOAbWWri9+GdCN4hQ
3 changed files with 3 additions and 14 deletions

View file

@ -2,6 +2,7 @@ if status is-interactive
# Commands to run in interactive sessions can go here
end
set -gx EDITOR micro
abbr -a -- l la
abbr -a -- m micro
abbr -a -- g git

View file

@ -2,9 +2,9 @@
name = Anthony Wang
email = a@exozy.me
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPDLPakDnAelqFTUudQB8X0T7yc/8ekV3jGqpeJb062l a@exozy.me
[commit]
gpgsign = true
[init]
defaultBranch = main
[commit]
gpgsign = true
[gpg]
format = ssh

View file

@ -1,12 +0,0 @@
[Unit]
Description=SSH key agent
[Service]
Type=simple
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
# DISPLAY required for ssh-askpass to work
Environment=DISPLAY=:0
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
[Install]
WantedBy=default.target