apt: Use editor abstraction
This commit is contained in:
parent
4256e11492
commit
98ea2fa47b
1 changed files with 1 additions and 12 deletions
|
|
@ -153,20 +153,9 @@ profile apt @{exec_path} flags=(attach_disconnected) {
|
|||
|
||||
profile editor flags=(complain) {
|
||||
include <abstractions/base>
|
||||
include <abstractions/nameservice-strict>
|
||||
|
||||
@{sh_path} rix,
|
||||
@{bin}/sensible-editor mr,
|
||||
@{bin}/vim.* mrix,
|
||||
@{bin}/which{,.debianutils} rix,
|
||||
|
||||
/usr/share/vim/{,**} r,
|
||||
include <abstractions/app/editor>
|
||||
|
||||
/etc/apt/sources.list rw,
|
||||
/etc/vim/{,**} r,
|
||||
|
||||
owner @{HOME}/.viminfo{,.tmp} rw,
|
||||
owner @{HOME}/.selected_editor r,
|
||||
|
||||
include if exists <local/apt_editor>
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue