blob: e5e24f7b44c41c5797bfd47fcd640e213dbc3e6b (
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
57
58
59
|
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.
| &&
:[ Run command if the previous command has succeeded.
## 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
## Autocompletion
Executables in $PATH are added to autocompletion.
# AUTHORS
Maintained by Aqua <aqua@iserlohn-fortress.net>. The source code can be found
at https://neueland.iserlohn-fortress.net/cgit/rshell/.
|