Rename my/git-sync-all -> my/gsync

This commit is contained in:
Evie Litherland-Smith 2024-09-21 06:02:50 +01:00
parent 125b931314
commit d26134304f

View file

@ -620,11 +620,11 @@ Configure email with iCalendar event support, to integrate with
(mouse-wheel-progressive-speed nil)
(mouse-wheel-follow-mouse t))
;; Function for calling `git-sync-all'
(defun my/git-sync-all ()
"Run shell command `git-sync-all' asynchronously."
;; Function for calling `gsync'
(defun my/gsync ()
"Run shell command `gsync' asynchronously."
(interactive)
(async-shell-command "git-sync-all" "*git-sync-all*" "*git-sync-errors*"))
(async-shell-command "gsync" "*gsync*" "*git-sync-errors*"))
;; Make shebang (#!) file executable when saved
(add-hook 'after-save-hook #'executable-make-buffer-file-executable-if-script-p)