zsh: add kitten ssh aliases s and si
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+76
-4
@@ -41,12 +41,84 @@
|
|||||||
** Org Roam
|
** Org Roam
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(after! org-roam
|
(after! org-roam
|
||||||
(setq org-roam-directory (concat org-directory "notes/")))
|
(setq org-roam-directory "~/org/roam/"
|
||||||
|
org-roam-dailies-directory "dailies/")
|
||||||
|
|
||||||
|
;; Node capture templates
|
||||||
|
(setq org-roam-capture-templates
|
||||||
|
'(("f" "Fleeting Note" plain
|
||||||
|
"%?"
|
||||||
|
:target (file+head "fleeting/%<%Y%m%d%H%M%S>-${slug}.org"
|
||||||
|
"#+title: ${title}\n#+filetags: :fleeting:\n#+date: %U\n")
|
||||||
|
:unnarrowed t)
|
||||||
|
|
||||||
|
("e" "Evergreen Note" plain
|
||||||
|
"%?"
|
||||||
|
:target (file+head "evergreen/%<%Y%m%d%H%M%S>-${slug}.org"
|
||||||
|
"#+title: ${title}\n#+filetags: :evergreen:\n#+date: %U\n")
|
||||||
|
:unnarrowed t)
|
||||||
|
|
||||||
|
("p" "Project" plain
|
||||||
|
(file "~/org/roam/templates/project.org")
|
||||||
|
:target (file+head "projects/%<%Y%m%d%H%M%S>-${slug}.org"
|
||||||
|
"#+title: ${title}\n#+filetags: :project:active:\n#+date: %U\n")
|
||||||
|
:unnarrowed t)
|
||||||
|
|
||||||
|
("m" "MOC" plain
|
||||||
|
"%?"
|
||||||
|
:target (file+head "mocs/${slug}.org"
|
||||||
|
"#+title: ${title}\n#+filetags: :moc:\n")
|
||||||
|
:unnarrowed t)
|
||||||
|
|
||||||
|
("g" "Goal" plain
|
||||||
|
(file "~/org/roam/templates/goal.org")
|
||||||
|
:target (file+head "goals/${slug}.org"
|
||||||
|
"#+title: ${title}\n#+filetags: :goal:active:\n#+date: %U\n")
|
||||||
|
:unnarrowed t)))
|
||||||
|
|
||||||
|
;; Dailies templates
|
||||||
|
(setq org-roam-dailies-capture-templates
|
||||||
|
'(("d" "daily" plain
|
||||||
|
"%?"
|
||||||
|
:target (file+head "%<%Y-%m-%d>.org"
|
||||||
|
"#+title: %<%Y-%m-%d>\n#+filetags: :daily:\n\n* 🌅 Today's Focus\n\n* 💼 Work\n** Tasks\n** Notes\n\n* 🔬 Tech\n** Tasks\n** Notes\n\n* 🧍 Personal\n** Tasks\n** Notes\n\n* 📋 Habits\n\n* 🌀 Fleeting / Inbox\n")
|
||||||
|
:unnarrowed t
|
||||||
|
:immediate-finish t)
|
||||||
|
|
||||||
|
("w" "weekly review" plain
|
||||||
|
(file "~/org/roam/templates/weekly-review.org")
|
||||||
|
:target (file+head "reviews/%<%Y>-W%<%V>.org"
|
||||||
|
"#+title: Weekly Review W%<%V> %<%Y>\n#+filetags: :review:weekly:\n")
|
||||||
|
:unnarrowed t)
|
||||||
|
|
||||||
|
("m" "monthly review" plain
|
||||||
|
(file "~/org/roam/templates/monthly-review.org")
|
||||||
|
:target (file+head "reviews/%<%Y>-%<%m>.org"
|
||||||
|
"#+title: Monthly Review %<%B %Y>\n#+filetags: :review:monthly:\n")
|
||||||
|
:unnarrowed t)))
|
||||||
|
|
||||||
|
;; Point agenda at roam directory
|
||||||
|
(setq org-agenda-files (list "~/org/roam/"))
|
||||||
|
|
||||||
|
;; DB auto-sync
|
||||||
|
(org-roam-db-autosync-mode))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
#+RESULTS:
|
** Agenda Views
|
||||||
: ~/org/notes/
|
#+begin_src emacs-lisp
|
||||||
|
(after! org
|
||||||
|
(setq org-agenda-custom-commands
|
||||||
|
'(("w" "Work" tags-todo "+work+active"
|
||||||
|
((org-agenda-overriding-header "Work — Active Tasks")))
|
||||||
|
("p" "Personal" tags-todo "+personal+active"
|
||||||
|
((org-agenda-overriding-header "Personal — Active Tasks")))
|
||||||
|
("t" "Tech" tags-todo "+tech+active"
|
||||||
|
((org-agenda-overriding-header "Tech — Active Tasks")))
|
||||||
|
("n" "All NEXT actions" tags-todo "+NEXT"
|
||||||
|
((org-agenda-overriding-header "All Next Actions")))
|
||||||
|
("A" "Full active" tags-todo "+active"
|
||||||
|
((org-agenda-overriding-header "Everything Active"))))))
|
||||||
|
#+end_src
|
||||||
** Auto-revert (Syncthing)
|
** Auto-revert (Syncthing)
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(global-auto-revert-mode t)
|
(global-auto-revert-mode t)
|
||||||
|
|||||||
@@ -52,3 +52,6 @@
|
|||||||
;; (unpin! pinned-package another-pinned-package)
|
;; (unpin! pinned-package another-pinned-package)
|
||||||
;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
|
;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
|
||||||
;; (unpin! t)
|
;; (unpin! t)
|
||||||
|
|
||||||
|
|
||||||
|
(package! org-ql)
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ in
|
|||||||
ll = "eza -la --icons";
|
ll = "eza -la --icons";
|
||||||
cat = "bat";
|
cat = "bat";
|
||||||
grep = "rg";
|
grep = "rg";
|
||||||
|
s = "kitten ssh";
|
||||||
|
si = ''kitten ssh -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no"'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user