hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/etc/profile
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-10-11 02:16:56 +0200
committerhachem <im@hachem.wtf>2026-10-11 02:16:56 +0200
commit59794d0b999e544a94230d9562bf2b99d2ed74c7 (patch)
treea001db5b5ebb9453d6a0e96f56b36e6ec3ccdd51 /etc/profile
parent88750ed7132c08bcfb24e878c893ef7185c3c0b0 (diff)
feat: actual real vfs, not a faked one lmao
Diffstat (limited to 'etc/profile')
-rw-r--r--etc/profile8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/profile b/etc/profile
new file mode 100644
index 0000000..7cd7a19
--- /dev/null
+++ b/etc/profile
@@ -0,0 +1,8 @@
+# acts like .bash_profile or .zsh_profile
+
+const motd_size = fs:size("/etc/motd")
+if motd_size > 0 do
+ puts("\n")
+ puts(fs:read_bytes("/etc/motd", 0, motd_size))
+ puts("\n")
+end