pass: Use editor abstraction

This commit is contained in:
doublez13 2024-05-16 07:43:26 -06:00 committed by Alex
parent a291ce373a
commit ce329175da

View file

@ -75,22 +75,12 @@ profile pass @{exec_path} {
profile editor {
include <abstractions/base>
include <abstractions/consoles>
include <abstractions/nameservice-strict>
include <abstractions/app/editor>
@{bin}/vim{,.*} mrix,
/etc/vim/{,**} r,
/etc/vimrc r,
/usr/share/terminfo/** r,
/usr/share/vim/{,**} r,
/tmp/ r,
owner @{HOME}/.viminf{o,z}{,.tmp} rw,
owner @{user_password_store_dirs}/{,**/} r,
owner @{user_cache_dirs}/vim/{,**} rw,
owner @{user_config_dirs}/vim/{,**} rw,
owner /dev/shm/pass.*/{,*} rw,
deny owner @{HOME}/ r,