Compare commits

..

2 commits

Author SHA1 Message Date
Jakub
5a4ddd206d Add site files for non-vc modifications 2026-05-18 19:49:48 +08:00
Jakub
eabf5e30d7 semi-automated jira login 2026-05-18 19:48:55 +08:00
3 changed files with 15 additions and 0 deletions

2
.gitignore vendored
View file

@ -2,6 +2,8 @@
*~
\#*\#
site/
# Internal config files
.cache/
eln-cache/

View file

@ -87,6 +87,8 @@
(load-directory (concat user-emacs-directory "workflows"))
;; Custom screens
(load-directory (concat user-emacs-directory "screens"))
;; Non-VC tracked code - per device
(load-directory (concat user-emacs-directory "site"))
(unless (fboundp 'notifications-notify)
(require 'notifications))

View file

@ -25,6 +25,17 @@
(use-package org-jira)
(setq org-jira-working-dir "~/.org/tasks/projects")
(defun jira ()
"Sign in to Jira and fetch issues."
(interactive)
;; On MacOS I store the API key with security, and retrieve it like this.
;; Auth-source is buggy on MacOS.
(when (equal system-type 'darwin)
(kill-new
(shell-command-to-string (concat "security find-generic-password -a \""
jiralib-user "\" -s \"jira\" -w"))))
(call-interactively #'org-jira-get-issues))
(provide 'jira)
;;; jira.el ends here