summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2024-02-13 16:57:43 -0500
committerAnthony Wang2024-02-13 16:57:43 -0500
commitb2d4a6e496370c852b27e007f9e1109fb0a2a3ec (patch)
tree837e712115480830f1b21103bf8e4941f184d13b
parentd0d26844a2e99c815401e7d3995dd48d692f22db (diff)
Set EDITOR in config.fish, use system-installed ssh-agent.service
-rw-r--r--fish/config.fish1
-rw-r--r--git/config4
-rw-r--r--systemd/user/ssh-agent.service12
3 files changed, 3 insertions, 14 deletions
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