From eb32db16c6307b77db24b4427bd662e01ccf93eb Mon Sep 17 00:00:00 2001 From: doublez13 Date: Sat, 11 May 2024 14:59:11 -0600 Subject: [PATCH] Task: Use editor abstraction --- apparmor.d/profiles-s-z/task | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/apparmor.d/profiles-s-z/task b/apparmor.d/profiles-s-z/task index 3c161081..ed6cfe0f 100644 --- a/apparmor.d/profiles-s-z/task +++ b/apparmor.d/profiles-s-z/task @@ -35,29 +35,7 @@ profile task @{exec_path} { owner @{HOME}/.task/{,**} rwk, profile editor { - include - include - - @{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 # Taskwarrior related files owner @{HOME}/.task/ r,