Set EDITOR in config.fish, use system-installed ssh-agent.service
This commit is contained in:
parent
d0d26844a2
commit
b2d4a6e496
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue