org-jira config for Emacs
This commit is contained in:
2
.mailcap
Normal file
2
.mailcap
Normal file
@@ -0,0 +1,2 @@
|
||||
# inspiration here: https://emacs.stackexchange.com/questions/63436/is-there-some-way-to-view-the-html-part-of-an-email-in-an-external-browser-or-as
|
||||
text/html; open %s; nametemplate=%s.html
|
||||
22
.spacemacs
22
.spacemacs
@@ -63,6 +63,7 @@ This function should only modify configuration layer settings."
|
||||
(org :variables
|
||||
org-enable-bootstrap-support t
|
||||
org-enable-jira-support t
|
||||
jiralib-url "https://jira.oci.oraclecorp.com"
|
||||
;; org-enable-roam-support t
|
||||
;; org-enable-roam-ui t
|
||||
;; org-roam-completion-everywhere t
|
||||
@@ -761,6 +762,27 @@ before packages are loaded."
|
||||
|
||||
;; / email config
|
||||
|
||||
;; jira config
|
||||
|
||||
;; (defun my-jira-bearer-token ()
|
||||
;; "Return the Authorization header for Jira Bearer token."
|
||||
;; (cons "Authorization"
|
||||
;; (concat "Bearer " "<token>")))
|
||||
;; (with-eval-after-load 'jiralib
|
||||
;; (setq jiralib-token (my-jira-bearer-token)))
|
||||
|
||||
(with-eval-after-load 'jiralib
|
||||
(setq jiralib-token (cons "Authorization"
|
||||
(concat "Bearer " (auth-source-pick-first-password
|
||||
:host "jira.oci.oraclecorp.com")))
|
||||
))
|
||||
|
||||
;; // jira config
|
||||
|
||||
;; gnupg config
|
||||
(setq epa-pinentry-mode 'loopback)
|
||||
;; /gnupg config
|
||||
|
||||
;; setting gui font for gui only
|
||||
(defun my/set-gui-font ()
|
||||
(when (display-graphic-p)
|
||||
|
||||
Reference in New Issue
Block a user