Task: Use editor abstraction

This commit is contained in:
doublez13 2024-05-11 14:59:11 -06:00 committed by GitHub
parent d390cb1362
commit 59e6b6f6b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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,