summaryrefslogtreecommitdiff
path: root/src/file/homefile/userhomefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/file/homefile/userhomefile')
-rw-r--r--src/file/homefile/userhomefile/meson.build1
-rw-r--r--src/file/homefile/userhomefile/userhomeshellrcfile.cil17
2 files changed, 18 insertions, 0 deletions
diff --git a/src/file/homefile/userhomefile/meson.build b/src/file/homefile/userhomefile/meson.build
new file mode 100644
index 0000000..a114a1a
--- /dev/null
+++ b/src/file/homefile/userhomefile/meson.build
@@ -0,0 +1 @@
+modules += files('userhomeshellrcfile.cil')
diff --git a/src/file/homefile/userhomefile/userhomeshellrcfile.cil b/src/file/homefile/userhomefile/userhomeshellrcfile.cil
new file mode 100644
index 0000000..a620ccf
--- /dev/null
+++ b/src/file/homefile/userhomefile/userhomeshellrcfile.cil
@@ -0,0 +1,17 @@
+(block shellrc
+ (block user
+ (block home
+ (blockinherit .file.home.user.template)
+ (filecon "HOME_DIR/\.bashrc" file file_context)
+ (filecon "HOME_DIR/\.bashrc" symlink file_context)
+ (filecon "HOME_DIR/\.bash_profile" file file_context)
+ (filecon "HOME_DIR/\.bash_profile" symlink file_context)
+ (filecon "HOME_DIR/\.bash_logout" file file_context)
+ (filecon "HOME_DIR/\.bash_logout" symlink file_context)
+ (filecon "HOME_DIR/\.zshrc" file file_context)
+ (filecon "HOME_DIR/\.zshrc" symlink file_context)
+ (filecon "HOME_DIR/\.zprofile" file file_context)
+ (filecon "HOME_DIR/\.zprofile" symlink file_context)
+ (filecon "HOME_DIR/\.zenv" file file_context)
+ (filecon "HOME_DIR/\.zenv" symlink file_context))))
+