diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-10-22 18:13:54 +0300 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-10-22 18:13:54 +0300 |
commit | 4c271166bbad2bb6a77ddf201b32aa6ce4e0a53c (patch) | |
tree | 061736bf16a7970f812f568aabbf19ecdde04cb2 /man | |
parent | Split input line on ':' (diff) | |
download | rshell-4c271166bbad2bb6a77ddf201b32aa6ce4e0a53c.tar.xz |
Properly run commands on ExitSuccess/ExitFailure
Diffstat (limited to 'man')
-rw-r--r-- | man/rs.1.scd | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/man/rs.1.scd b/man/rs.1.scd index 6256453..2036f7a 100644 --- a/man/rs.1.scd +++ b/man/rs.1.scd @@ -8,9 +8,18 @@ rs - yet another shell This is yet another shell -# BUILTINS - -|[ *Builtin* +## Command syntax +|[ +:- Description +| ; +: Run command regardless of the previous command's exit status. +| || +:[ Run command if the previous command has failed. (todo) +| && +:[ Run command if the previous command has succeeded. (todo) + +## Builtins +|[ :- Arguments :- Description | ! @@ -29,10 +38,10 @@ This is yet another shell : key :[ Remove the 'key' environment variable. -# MOTD +## motd The motd printed on startup is read from /etc/motd. -# PROMPT +## Prompt To set the prompt, use the PROMPT environment variable. If one is not set, " {USER}@{HOST} [{PWD}]\n{$} " is used by default. |