blob: 2b7de2ff8de869ebf0f83d9d2998f429dbd1870a (
plain) (
blame)
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
|
spsh: the shitposting shell
===========================
An experimental Bourne-style shell for me to learn moar C. Don't actually use
this for any serious reason.
Author
: Tom Ryder <tom@sanctum.geek.nz>
Copyright
: 2016
License
: GPLv3 (because Readline)
Installing
----------
$ sudo apt-get install build-essential libreadline6-dev
$ make
Working
-------
* Readline keys
* Commands (with fully-qualified paths) and arguments
* ^D to exit
Not working but planned
-----------------------
In rough order of priority:
* At least a few simple builtins, like "cd" and "exit"
* Prompt with username and current directory
* Environment variables
* Quoting/escaping arguments (i.e. something better than just strtok())
* Command history
|