blob: 2036f7a29c99cab7c9fc3affac11d8f60f8fa3e7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
rs(1)
# NAME
rs - yet another shell
# DESCRIPTION
This is yet another shell
## 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
| !
:
:[ 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
at https://neueland.iserlohn-fortress.net/cgit/rshell/.
|