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 :variables
|
||||||
org-enable-bootstrap-support t
|
org-enable-bootstrap-support t
|
||||||
org-enable-jira-support t
|
org-enable-jira-support t
|
||||||
|
jiralib-url "https://jira.oci.oraclecorp.com"
|
||||||
;; org-enable-roam-support t
|
;; org-enable-roam-support t
|
||||||
;; org-enable-roam-ui t
|
;; org-enable-roam-ui t
|
||||||
;; org-roam-completion-everywhere t
|
;; org-roam-completion-everywhere t
|
||||||
@@ -761,6 +762,27 @@ before packages are loaded."
|
|||||||
|
|
||||||
;; / email config
|
;; / 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
|
;; setting gui font for gui only
|
||||||
(defun my/set-gui-font ()
|
(defun my/set-gui-font ()
|
||||||
(when (display-graphic-p)
|
(when (display-graphic-p)
|
||||||
|
|||||||
2
.zshrc
2
.zshrc
@@ -302,3 +302,5 @@ export PATH=$GEM_HOME/bin:$HOME/.gem/ruby/3.3.0/bin:$PATH
|
|||||||
if command -v launchctl >/dev/null 2>&1; then
|
if command -v launchctl >/dev/null 2>&1; then
|
||||||
export SSH_AUTH_SOCK="$(launchctl getenv SSH_AUTH_SOCK)"
|
export SSH_AUTH_SOCK="$(launchctl getenv SSH_AUTH_SOCK)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
export GPG_TTY=$(tty)
|
||||||
|
|||||||
Reference in New Issue
Block a user