From b2d4a6e496370c852b27e007f9e1109fb0a2a3ec Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Tue, 13 Feb 2024 16:57:43 -0500 Subject: Set EDITOR in config.fish, use system-installed ssh-agent.service --- fish/config.fish | 1 + git/config | 4 ++-- systemd/user/ssh-agent.service | 12 ------------ 3 files changed, 3 insertions(+), 14 deletions(-) delete mode 100644 systemd/user/ssh-agent.service diff --git a/fish/config.fish b/fish/config.fish index cbf380a..4073c35 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -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 diff --git a/git/config b/git/config index d137c46..a6f814c 100644 --- a/git/config +++ b/git/config @@ -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 diff --git a/systemd/user/ssh-agent.service b/systemd/user/ssh-agent.service deleted file mode 100644 index 5c59cbf..0000000 --- a/systemd/user/ssh-agent.service +++ /dev/null @@ -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 -- cgit v1.2.3-70-g09d2