From b53f7559db2f6629a414e6218c51df26a8c75b2c Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Wed, 8 Feb 2023 16:42:39 +0000 Subject: [PATCH] feat(pass): better editor integration. Co-authored-by: Andy Ramos --- apparmor.d/profiles-m-r/pass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apparmor.d/profiles-m-r/pass b/apparmor.d/profiles-m-r/pass index 2ff735f2..6dda5025 100644 --- a/apparmor.d/profiles-m-r/pass +++ b/apparmor.d/profiles-m-r/pass @@ -43,7 +43,7 @@ profile pass @{exec_path} { /{usr/,}bin/git rCx -> git, /{usr/,}bin/gpg{2,} rUx, - /{usr/,}bin/vim rCx -> editor, + /{usr/,}bin/vim{,.*} rCx -> editor, /{usr/,}bin/wl-{copy,paste} rPx, /{usr/,}bin/xclip rPx, @@ -71,7 +71,7 @@ profile pass @{exec_path} { include include - /{usr/,}bin/vim mrix, + /{usr/,}bin/vim{,.*} mrix, /etc/vim/{,**} r, /etc/vimrc r, @@ -81,7 +81,7 @@ profile pass @{exec_path} { owner @{HOME}/.fzf/plugin/ r, owner @{HOME}/.fzf/plugin/fzf.vim r, - owner @{HOME}/.viminfo{,.tmp} rw, + owner @{HOME}/.viminf{o,z}{,.tmp} rw, owner @{user_password_store_dirs}/{,**/} r, owner @{user_projects_dirs}/**/*-store/{,**/} r,