feat(abs): add the fish shell abstraction.
This commit is contained in:
parent
12c4ab122b
commit
4d9ea026c7
2 changed files with 15 additions and 0 deletions
14
apparmor.d/abstractions/fish
Normal file
14
apparmor.d/abstractions/fish
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
# apparmor.d - Full set of apparmor profiles
|
||||||
|
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
|
||||||
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
# This abstraction is only required when an interactive shell is started.
|
||||||
|
# Classic shell scripts do not need it.
|
||||||
|
|
||||||
|
/usr/share/fish/{,**} r,
|
||||||
|
|
||||||
|
/etc/fish/{,**} r,
|
||||||
|
|
||||||
|
owner @{user_config_dirs}/fish/{,**} r,
|
||||||
|
|
||||||
|
include if exists <abstractions/fish.d>
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
# Classic shell scripts do not need it.
|
# Classic shell scripts do not need it.
|
||||||
|
|
||||||
include <abstractions/bash-strict>
|
include <abstractions/bash-strict>
|
||||||
|
include <abstractions/fish>
|
||||||
include <abstractions/zsh>
|
include <abstractions/zsh>
|
||||||
|
|
||||||
include if exists <abstractions/shells.d>
|
include if exists <abstractions/shells.d>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue