aboutsummaryrefslogtreecommitdiff
path: root/man/rs.1.scd
diff options
context:
space:
mode:
Diffstat (limited to 'man/rs.1.scd')
-rw-r--r--man/rs.1.scd40
1 files changed, 31 insertions, 9 deletions
diff --git a/man/rs.1.scd b/man/rs.1.scd
index f6ac4ef..6256453 100644
--- a/man/rs.1.scd
+++ b/man/rs.1.scd
@@ -10,15 +10,37 @@ This is yet another shell
# BUILTINS
-## cd(new_dir)
-change directory to new_dir
-
-## exit
-quit the shell
-TODO: check background jobs
-
-# SEE ALSO
-rs(5) for configuration options
+|[ *Builtin*
+:- Arguments
+:- Description
+| !
+:
+:[ Show the status of the last command run.
+| cd
+: (dest)
+:[ Change the current directory. If one is not provided, go to home instead.
+| exit
+:
+:[ Quit the shell
+| set
+: key value
+:[ Set the 'key' environment variable to 'value'.
+| unset
+: key
+:[ Remove the 'key' environment variable.
+
+# MOTD
+The motd printed on startup is read from /etc/motd.
+
+# PROMPT
+To set the prompt, use the PROMPT environment variable. If one is not set,
+ " {USER}@{HOST} [{PWD}]\n{$} "
+is used by default.
+
+- {USER} is replaced by username
+- {HOST} is replaced by hostname
+- {$} is replaced by '#' for root and '$' for other users
+- {PWD} is replaced by current directory path
# AUTHORS
Maintained by Aqua <aqua@iserlohn-fortress.net>. The source code can be found