feat(profiles): general update.

This commit is contained in:
Alexandre Pujol 2023-10-13 00:05:53 +01:00
parent 387f2f91fc
commit 5f47df0b79
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
6 changed files with 20 additions and 13 deletions

View file

@ -7,13 +7,11 @@ abi <abi/3.0>,
include <tunables/global>
@{lib_dirs} = @{lib}/git/ @{lib}/git-core/
@{code_config_dirs} = @{user_config_dirs}/Code* @{HOME}/.vscode{,-oss}
@{exec_path} = @{bin}/git
@{exec_path} += @{bin}/git-*
@{exec_path} += @{lib}/git-core/git
@{exec_path} += @{lib}/git-core/git-*
@{exec_path} += @{lib}/git-core/mergetools/*
@{exec_path} = @{bin}/git @{bin}/git-*
@{exec_path} += @{lib_dirs}/git @{lib_dirs}/git-* @{lib_dirs}/mergetools/*
profile git @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
@ -79,7 +77,7 @@ profile git @{exec_path} {
@{bin}/vim rCx -> editor,
@{bin}/vim.* rCx -> editor,
/usr/share/git-core/{,**} r,
/usr/share/git{,-core}/{,**} r,
/usr/share/terminfo/x/xterm-256color r,
/etc/mailname r,
@ -87,8 +85,10 @@ profile git @{exec_path} {
owner @{user_projects_dirs}/ rw,
owner @{user_projects_dirs}/** rwkl -> @{user_projects_dirs}/**,
owner @{user_projects_dirs}/**/.git/hooks/* rix,
owner @{user_cache_dirs}/*/ rw,
owner @{user_cache_dirs}/*/** rwkl -> @{user_cache_dirs}/*/**,
owner /tmp/** rwkl -> /tmp/**,
owner /tmp/**/bin/* rCx -> exec,