forked from colonelpanic/dotfiles
get name and email from gitconfig.
This commit is contained in:
parent
91d8100e36
commit
e7f72fc469
7
init.el
7
init.el
@ -1,13 +1,14 @@
|
||||
;; =============================================================================
|
||||
;; Ivan Malison
|
||||
;; ___ _ __ ___ __ _ ___ ___
|
||||
;; / _ \ '_ ` _ \ / _` |/ __/ __|
|
||||
;; | __/ | | | | | (_| | (__\__ \
|
||||
;; (_)___|_| |_| |_|\__,_|\___|___/
|
||||
;; =============================================================================
|
||||
|
||||
(setq user-full-name "Ivan Malison")
|
||||
(setq user-mail-address "<IvanMalison@gmail.com>")
|
||||
(setq user-full-name
|
||||
(replace-regexp-in-string "\n$" "" (shell-command-to-string "git config --get user.email")))
|
||||
(setq user-mail-address
|
||||
(replace-regexp-in-string "\n$" "" (shell-command-to-string "git config --get user.name")))
|
||||
|
||||
;; =============================================================================
|
||||
;; Load Path Configuration
|
||||
|
Loading…
Reference in New Issue
Block a user