Use wakatime and create toolbox enter command
This commit is contained in:
parent
1192f2bf95
commit
83e4518b5c
3 changed files with 20 additions and 0 deletions
|
@ -139,3 +139,6 @@
|
|||
:desc "dap breakpoint condition" "c" #'dap-breakpoint-condition
|
||||
:desc "dap breakpoint hit count" "h" #'dap-breakpoint-hit-condition
|
||||
:desc "dap breakpoint log message" "l" #'dap-breakpoint-log-message)
|
||||
|
||||
;; Wakatime
|
||||
(global-wakatime-mode)
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror:
|
||||
(package! just-mode)
|
||||
(package! protobuf-mode)
|
||||
(package! wakatime-mode)
|
||||
|
||||
(package! prisma-mode :recipe (:host github :repo "pimeys/emacs-prisma-mode" :branch "main"))
|
||||
|
||||
;; To install a package directly from a remote git repo, you must specify a
|
||||
|
|
15
fish/functions/enter.fish
Normal file
15
fish/functions/enter.fish
Normal file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env fish
|
||||
|
||||
function enter -d "Enter a toolbox for this project or create one if it does not exist"
|
||||
set TOOLBOX_NAME (basename $PWD)
|
||||
|
||||
for container in (podman ps --format '{{.Names}}')
|
||||
if test $container = $TOOLBOX_NAME
|
||||
toolbox run -c $TOOLBOX_NAME emacs
|
||||
exit 0
|
||||
end
|
||||
end
|
||||
|
||||
toolbox create --image localhost/dev-base:latest $TOOLBOX_NAME
|
||||
toolbox run -c $TOOLBOX_NAME emacs
|
||||
end
|
Loading…
Reference in a new issue