home-environments: radio: Update :home fish abbreviation

pull/1/head
Luis Guilherme Coelho 2023-12-30 17:49:07 -03:00
parent e9ac7f76f3
commit b06bf1fec3
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
2 changed files with 5 additions and 2 deletions

View File

@ -42,6 +42,10 @@ function bang-bang-k
echo $arr[$k]
end
function edit-home
echo "~/projects/code/scm/radix/ && $EDITOR home-environments/$(whoami).scm"
end
function edit-system
echo "~/projects/code/scm/radix/ && $EDITOR operating-systems/$(hostname).scm"
end

View File

@ -346,8 +346,7 @@
(abbreviation
(name ":home")
(expansion
(format #f "~a/scm/radix && $EDITOR radio.scm"
code-projects)))
(fish-function "edit-home")))
(abbreviation
(name ":todo")
(expansion "~/areas/organization/todo"))