feat(tunable): add @{editor_path} & @{pager_path}.

This commit is contained in:
Alexandre Pujol 2024-09-08 13:25:49 +01:00
parent 4f310b8802
commit 2af1d06f18
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
35 changed files with 63 additions and 124 deletions

View file

@ -37,13 +37,8 @@ profile mutt @{exec_path} {
@{bin}/w3m rCx -> html-renderer,
@{bin}/lynx rCx -> html-renderer,
@{bin}/vim rCx -> editor,
@{bin}/vim.* rCx -> editor,
@{bin}/sensible-editor rCx -> editor,
@{bin}/less rCx -> pager,
@{bin}/more rCx -> pager,
@{bin}/pager rCx -> pager,
@{editor_path} rCx -> editor,
@{pager_path} rCx -> pager,
@{bin}/gpg{2,} rCx -> gpg,
@{bin}/gpgconf rCx -> gpg,
@ -118,9 +113,7 @@ profile mutt @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
@{bin}/less mr,
@{bin}/more mr,
@{bin}/pager mr,
@{pager_path} mr,
/usr/share/terminfo/** r,
/usr/share/file/misc/magic.mgc r,

View file

@ -46,7 +46,7 @@ profile pass @{exec_path} {
@{bin}/gpg{2,} rCx -> gpg,
@{bin}/pkill rCx -> pkill,
@{bin}/qdbus rCx -> qdbus,
@{bin}/vim{,.*} rCx -> editor,
@{editor_path} rCx -> editor,
@{lib}/git{,-core}/git rCx -> git,
@{bin}/wl-{copy,paste} rPx,
@{bin}/xclip rPx,
@ -112,10 +112,7 @@ profile pass @{exec_path} {
@{bin}/git* mrix,
@{lib}/git{,-core}/git* mrix,
@{bin}/pager rPx -> child-pager,
@{bin}/less rPx -> child-pager,
@{bin}/more rPx -> child-pager,
@{pager_path} rPx -> child-pager,
@{bin}/gpg{2,} rPx -> pass//gpg,
/usr/share/git{,-core}/{,**} r,