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] echo $arr[$k]
end end
function edit-home
echo "~/projects/code/scm/radix/ && $EDITOR home-environments/$(whoami).scm"
end
function edit-system function edit-system
echo "~/projects/code/scm/radix/ && $EDITOR operating-systems/$(hostname).scm" echo "~/projects/code/scm/radix/ && $EDITOR operating-systems/$(hostname).scm"
end end

View File

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