mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Read username from git config github.user
Falls back to user-login-name otherwise.
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
;;
|
;;
|
||||||
;; Copyright (C) `(format-time-string "%Y")` `user-full-name`
|
;; Copyright (C) `(format-time-string "%Y")` `user-full-name`
|
||||||
;;
|
;;
|
||||||
;; Author: `user-full-name` <https://github.com/`user-login-name`>
|
;; Author: `user-full-name` <https://github.com/`(cl-find-if-not #'string-empty-p (list (cdr (doom-call-process "git" "config" "github.user")) user-login-name))`>
|
||||||
;; Maintainer: `user-full-name` <`user-mail-address`>
|
;; Maintainer: `user-full-name` <`user-mail-address`>
|
||||||
;; Created: `(format-time-string "%B %d, %Y")`
|
;; Created: `(format-time-string "%B %d, %Y")`
|
||||||
;; Modified: `(format-time-string "%B %d, %Y")`
|
;; Modified: `(format-time-string "%B %d, %Y")`
|
||||||
|
Reference in New Issue
Block a user