feat(abs): expand zsh abs to more default locations
- Add support for oh-my-zsh - Add support for gitstatus & p10k - Add more zsh config dirctories.
This commit is contained in:
parent
dbd0a7d271
commit
4beb096532
1 changed files with 20 additions and 4 deletions
|
|
@ -10,24 +10,40 @@
|
||||||
|
|
||||||
@{lib}/@{multiarch}/zsh/@{int}/zsh/*.so mr,
|
@{lib}/@{multiarch}/zsh/@{int}/zsh/*.so mr,
|
||||||
|
|
||||||
/usr/share/zsh/{,**} r,
|
|
||||||
/usr/local/share/zsh/{,**} r,
|
/usr/local/share/zsh/{,**} r,
|
||||||
|
/usr/share/oh-my-zsh/{,**} r,
|
||||||
|
/usr/share/zsh/{,**} r,
|
||||||
|
|
||||||
/etc/zsh/* r,
|
/etc/zsh/* r,
|
||||||
|
|
||||||
owner @{HOME}/.zshrc r,
|
owner @{HOME}/.zcompdump-* rw,
|
||||||
owner @{HOME}/.zshenv r,
|
|
||||||
owner @{HOME}/.zsh_history rw,
|
owner @{HOME}/.zsh_history rw,
|
||||||
owner @{HOME}/.zsh_history.LOCK rwk,
|
owner @{HOME}/.zsh_history.LOCK rwk,
|
||||||
|
owner @{HOME}/.zsh_history.new rw,
|
||||||
|
owner @{HOME}/.zshenv r,
|
||||||
|
owner @{HOME}/.zshrc r,
|
||||||
|
|
||||||
owner @{HOME}/.oh-my-zsh/{,**} r,
|
owner @{HOME}/.oh-my-zsh/{,**} r,
|
||||||
owner @{HOME}/.oh-my-zsh/log/update.lock/ w,
|
owner @{HOME}/.oh-my-zsh/log/update.lock/ w,
|
||||||
|
|
||||||
owner @{HOME}/.zcompdump-* rw,
|
owner @{user_cache_dirs}/oh-my-zsh/{,**} r,
|
||||||
|
owner @{user_cache_dirs}/p10k-@{user}/{,**} rw,
|
||||||
|
owner @{user_cache_dirs}/p10k-dump-@{user}.zsh{,.*} rw,
|
||||||
|
owner @{user_cache_dirs}/p10k-instant-prompt-@{user}.zsh{,.*} rw,
|
||||||
|
|
||||||
owner @{user_config_dirs}/zsh/.zcompdump-* rw,
|
owner @{user_config_dirs}/zsh/.zcompdump-* rw,
|
||||||
owner @{user_config_dirs}/zsh/{,**} r,
|
owner @{user_config_dirs}/zsh/{,**} r,
|
||||||
|
|
||||||
|
owner @{user_share_dirs}/zsh/history rw,
|
||||||
|
owner @{user_share_dirs}/zsh/history.LOCK rwk,
|
||||||
|
owner @{user_share_dirs}/zsh/history.new rw,
|
||||||
|
|
||||||
|
owner @{tmp}/gitstatus.POWERLEVEL9K.*.fifo rw,
|
||||||
|
owner @{tmp}/gitstatus.POWERLEVEL9K.*.lock rwk,
|
||||||
|
|
||||||
|
@{PROC}/version r,
|
||||||
|
owner @{PROC}/@{pid}/loginuid r,
|
||||||
|
|
||||||
include if exists <abstractions/zsh.d>
|
include if exists <abstractions/zsh.d>
|
||||||
|
|
||||||
# vim:syntax=apparmor
|
# vim:syntax=apparmor
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue