From dade76c84c2dac619938571b83eab4d8465b3927 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sat, 17 Oct 2020 21:55:42 +0300 Subject: Update manpage Add makefile to build manpages with --- man/rs.1.scd | 40 +++++++++++++++++++++++++++++++--------- man/rs.5.scd | 24 ------------------------ 2 files changed, 31 insertions(+), 33 deletions(-) delete mode 100644 man/rs.5.scd (limited to 'man') 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 . The source code can be found diff --git a/man/rs.5.scd b/man/rs.5.scd deleted file mode 100644 index 952c350..0000000 --- a/man/rs.5.scd +++ /dev/null @@ -1,24 +0,0 @@ -rs(5) "rs configuration" - -# NAME - -rs - yet another shell - -# DESCRIPTION - -This is yet another shell - -# MOTD -The motd printed on startup is read from /etc/motd. -TODO: disable toggle - -# 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 - -- cgit v1.2.1