hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/etc/profile
diff options
context:
space:
mode:
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