Task: Use editor abstraction

This commit is contained in:
doublez13 2024-05-11 14:59:11 -06:00 committed by Alex
parent 769b4a7cec
commit eb32db16c6

View File

@ -35,29 +35,7 @@ profile task @{exec_path} {
owner @{HOME}/.task/{,**} rwk,
profile editor {
include <abstractions/base>
include <abstractions/nameservice-strict>
@{bin}/sensible-editor mr,
@{bin}/vim mrix,
@{bin}/vim.* mrix,
@{sh_path} rix,
@{bin}/which{,.debianutils} rix,
/usr/share/vim/{,**} r,
/usr/share/terminfo/** r,
/etc/vimrc r,
/etc/vim/{,**} r,
owner @{HOME}/.selected_editor r,
owner @{HOME}/.viminfo{,.tmp} rw,
owner @{HOME}/.vimrc r,
# Vim swap file
owner @{HOME}/ r,
owner @{user_cache_dirs}/ r,
owner @{user_cache_dirs}/vim/** wr,
include <abstractions/editor>
# Taskwarrior related files
owner @{HOME}/.task/ r,