files: kak: Add command to edit radix packages

pull/1/head
Luis Guilherme Coelho 2024-01-02 23:24:36 -03:00
parent cce7f67e34
commit a12d3db825
No known key found for this signature in database
GPG Key ID: 1F2E76ACE3F531C8
1 changed files with 7 additions and 1 deletions

View File

@ -85,7 +85,7 @@ define-command -override files \
declare-option str radix_modules "%opt{radix}/modules/radix"
define-command -override modules \
-docstring 'edit radix modules' %{
execute-keys ":e %opt{radix_modules}"
execute-keys ":e %opt{radix_modules}/"
}
declare-option str radix_services "%opt{radix_modules}/services"
@ -94,6 +94,12 @@ define-command -override services \
execute-keys ":e %opt{radix_services}/"
}
declare-option str radix_packages "%opt{radix_modules}/packages"
define-command -override packages \
-docstring 'edit radix packages' %{
execute-keys ":e %opt{radix_packages}/"
}
declare-option str radix_home_services "%opt{radix_modules}/home/services"
define-command -override home-services \
-docstring 'edit radix home services' %{