Commit graph

14 commits

Author SHA1 Message Date
8285e148e1 Updated README 2026-04-21 02:56:05 +02:00
17501b59b4 Redirrect support for >, >>, <, &>, 2>
- cd does less work now
2026-04-21 02:51:59 +02:00
db5aef12c2 PS1 variable support, ~ expansion and pretty pwd
- if arsh has a PS1 env var, it will use it to display prompt. It
supports esc sequences, \u, \w
- if '~' is used, it will be expanded to $HOME env var value
- if PS1 env var uses \w, and $PWD is somewhere inside $HOME, then it
will show '~' in prompt instead of a long path
- arsh sets $SHELL env var on startup
2026-04-21 01:36:40 +02:00
3e1f2a2340 Updated README 2026-02-20 01:40:30 +01:00
2a908210a1 Added spawn with commands. ex. "arsh -c 'rm -rf /'"
and fixed a spelling mistake
2026-02-20 01:32:15 +01:00
1de31ff6a5 Changed the parsing method
This was made with help from ChatGPT :(
2026-02-20 01:31:36 +01:00
86ecaef72d Pipes '|' support
- cd without arguments moves to $HOME
- updated README
2026-02-19 21:02:40 +01:00
afbcaac1ae Script files support
- readline accepts stream to read from
- fixed issues with EOF
- arsh can be called with a file path as a second parameter, that will
be interpreted
2026-02-19 17:49:56 +01:00
e96ae4b4a2 Switched from GNU Readline to custom Readline function
to make arsh more compatible with other Unix-Like systems

- Fixed small memory leak
2026-02-19 16:13:34 +01:00
b5b02da752 Updated README 2026-02-19 14:24:17 +01:00
60b9863f08 Deleted README.md 2026-02-19 14:22:37 +01:00
2825aa5d88 Added README 2026-02-19 14:22:07 +01:00
7bbfb75566 basic shell 2026-02-19 14:22:07 +01:00
4048652b5b Initial commit 2026-02-19 14:18:59 +01:00