apt: Use editor abstraction

This commit is contained in:
doublez13 2024-05-16 07:33:43 -06:00 committed by Alex
parent 4256e11492
commit 98ea2fa47b

View File

@ -153,20 +153,9 @@ profile apt @{exec_path} flags=(attach_disconnected) {
profile editor flags=(complain) { profile editor flags=(complain) {
include <abstractions/base> include <abstractions/base>
include <abstractions/nameservice-strict> include <abstractions/app/editor>
@{sh_path} rix,
@{bin}/sensible-editor mr,
@{bin}/vim.* mrix,
@{bin}/which{,.debianutils} rix,
/usr/share/vim/{,**} r,
/etc/apt/sources.list rw, /etc/apt/sources.list rw,
/etc/vim/{,**} r,
owner @{HOME}/.viminfo{,.tmp} rw,
owner @{HOME}/.selected_editor r,
include if exists <local/apt_editor> include if exists <local/apt_editor>
} }