feat(abs): add the fish shell abstraction.

This commit is contained in:
Alexandre Pujol 2024-05-01 13:49:51 +01:00
parent 12c4ab122b
commit 4d9ea026c7
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
2 changed files with 15 additions and 0 deletions

View 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>

View File

@ -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>