chore(straight): Switch to SSH protocol for personal forks

This commit is contained in:
User
2026-07-11 18:59:32 +08:00
parent 58e01139b5
commit 03fa5bbfd4
6 changed files with 14 additions and 11 deletions

View File

@@ -27,7 +27,7 @@
;; dirvish ;; dirvish
(use-package dirvish (use-package dirvish
:straight :straight
'(dirvish :fork (:host github :repo "latiagertrutis/dirvish")) (dirvish :fork (:host github :repo "latiagertrutis/dirvish"))
:init :init
(dirvish-override-dired-mode) (dirvish-override-dired-mode)
:config :config

View File

@@ -6,9 +6,6 @@
;; straight.el ;; straight.el
;; 使用ssh
(setq straight-vc-git-default-protocol 'ssh)
(defvar bootstrap-version) (defvar bootstrap-version)
(let ((bootstrap-file (let ((bootstrap-file
(expand-file-name (expand-file-name

View File

@@ -122,7 +122,7 @@ explanations, no quotes, no punctuation, no file extension."
(use-package gptel-magit (use-package gptel-magit
:straight :straight
'(gptel-magit :fork (:host github :repo "ArthurHeymans/gptel-magit")) (gptel-magit :fork (:host github :repo "ArthurHeymans/gptel-magit"))
:hook :hook
(magit-mode . gptel-magit-install) (magit-mode . gptel-magit-install)
:init :init

View File

@@ -97,9 +97,11 @@
;; denote-lint ;; denote-lint
(use-package denote-lint (use-package denote-lint
:straight '(denote-lint :type git :straight
:host github (denote-lint :type git
:repo "Andsy10/denote-lint") :host github
:repo "Andsy10/denote-lint"
:protocol ssh)
:config :config
(setq org-link-elisp-confirm-function nil)) (setq org-link-elisp-confirm-function nil))

View File

@@ -78,7 +78,8 @@ _a_ : all dwim
(consult-jinx (consult-jinx
:type git :type git
:host github :host github
:repo "Andsy10/consult-jinx"))) :repo "Andsy10/consult-jinx"
:protocol ssh)))
;; eat终端 ;; eat终端
(unless *is-windows* (unless *is-windows*
@@ -162,7 +163,8 @@ _a_ : all dwim
:straight :straight
(project-ibuffer :type git (project-ibuffer :type git
:host github :host github
:repo "Andsy10/project-ibuffer")) :repo "Andsy10/project-ibuffer"
:protocol ssh))
;; emms ;; emms
(use-package emms (use-package emms

View File

@@ -13,7 +13,9 @@
;; 安装solarized dark ;; 安装solarized dark
(use-package solarized-theme (use-package solarized-theme
:straight :straight
'(solarized-emacs :fork (:host github :repo "Andsy10/solarized-emacs")) (solarized-emacs
:fork
(:type git :host github :repo "Andsy10/solarized-emacs" :protocol ssh))
:init :init
;; 把主题加载延迟到frame创建之后防止daemon模式下宏不能正常展开 ;; 把主题加载延迟到frame创建之后防止daemon模式下宏不能正常展开
(if (and (daemonp) (not *is-android*)) (if (and (daemonp) (not *is-android*))