backup, qwen coder, systemcrafters
This commit is contained in:
parent
589e25de8b
commit
45b25b8b79
1 changed files with 21 additions and 1 deletions
22
init.org
22
init.org
|
@ -332,7 +332,7 @@ Mac because the shell initialization scripts have not run yet.
|
|||
:if (or (daemonp) (memq window-system '(mac ns x)))
|
||||
:config (exec-path-from-shell-initialize))
|
||||
#+END_SRC
|
||||
** Setup backup directories
|
||||
** Setup backup directories and other file saving settings
|
||||
Configures where backup files are stored:
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
;; setup backup directories
|
||||
|
@ -341,6 +341,11 @@ Configures where backup files are stored:
|
|||
`(("." . ,(file-name-concat user-emacs-directory "backups"))))
|
||||
#+END_SRC
|
||||
|
||||
To avoid losing files when deleting in dired, move them to the trash:
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq delete-by-moving-to-trash t)
|
||||
#+END_SRC
|
||||
** Enable integration with the Unix Password Store aka *pass*
|
||||
The *pass* command gives a super practical way to store secrets
|
||||
encrypted using *gpg* and use them in *.envrc* files, batch scripts on the
|
||||
|
@ -2722,6 +2727,9 @@ integration in Emacs.
|
|||
(setq gptel-api-key openai-api-key)
|
||||
(gptel-make-gemini "Gemini" :key gemini-api-key :stream t)
|
||||
(gptel-make-anthropic "Claude" :stream t :key anthropic-api-key)
|
||||
(gptel-make-ollama "Qwen Coder"
|
||||
:models '(qwen2.5-coder:14b
|
||||
:description "QWen 2.5 Coder 14b"))
|
||||
;; define some tools for gptel
|
||||
(gptel-make-tool
|
||||
:function (lambda (url)
|
||||
|
@ -3465,6 +3473,18 @@ The commands this package offers:
|
|||
IMSMR the shorten-uri functionality is disabled in the 0x0 service
|
||||
as apparently is was abused too much.
|
||||
|
||||
** Systemcrafters live stream
|
||||
|
||||
|
||||
#+BEGIN_SRC elisp
|
||||
(defun systemcrafters ()
|
||||
"Watch SystemCrafters on Twitch"
|
||||
(interactive)
|
||||
(message "Watching SystemCrafters on Twitch...")
|
||||
(shell-command "mpv https://twitch.tv/SystemCrafters"))
|
||||
#+END_SRC
|
||||
|
||||
|
||||
* Finishing Touches
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
|
|
Loading…
Add table
Reference in a new issue