mirror of
https://github.com/d0zingcat/dotfiles.git
synced 2026-06-01 15:10:36 +00:00
update to use 1password ssh agent/github ssh signing
Signed-off-by: Lee Tang <i@d0zingcat.dev>
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
[user]
|
[user]
|
||||||
email = i@d0zingcat.dev
|
email = i@d0zingcat.dev
|
||||||
name = Lee Tang
|
name = Lee Tang
|
||||||
signingkey = 39E301C2
|
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICWNAdF4p781cI/fIyHAEw+JgRxnoKX5BBk+xyr6r09W
|
||||||
[url "https://"]
|
[url "https://"]
|
||||||
insteadOf = git://
|
insteadOf = git://
|
||||||
[core]
|
[core]
|
||||||
@@ -11,6 +11,12 @@
|
|||||||
excludesfile = /Users/d0zingcat/.config/git/.gitignore
|
excludesfile = /Users/d0zingcat/.config/git/.gitignore
|
||||||
[commit]
|
[commit]
|
||||||
gpgsign = true
|
gpgsign = true
|
||||||
|
[gpg]
|
||||||
|
format = ssh
|
||||||
|
|
||||||
|
[gpg "ssh"]
|
||||||
|
program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign"
|
||||||
|
|
||||||
[pager]
|
[pager]
|
||||||
difftool = true
|
difftool = true
|
||||||
[diff]
|
[diff]
|
||||||
|
|||||||
4
setup.sh
4
setup.sh
@@ -179,6 +179,10 @@ function recover() {
|
|||||||
$(brew --prefix)/opt/fzf/install
|
$(brew --prefix)/opt/fzf/install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function post_recover() {
|
||||||
|
mkdir -p ~/.1password && ln -s ~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock ~/.1password/agent.sock
|
||||||
|
}
|
||||||
|
|
||||||
option=$1
|
option=$1
|
||||||
case $option in
|
case $option in
|
||||||
"")
|
"")
|
||||||
|
|||||||
Reference in New Issue
Block a user