99b9440ee1
Implemented the 'help' builtin, and support for :h <topic> in ex mode
...
:h is an alias for the 'help' builtin.
'help' takes a single argument and tries to find a suitable match among the files in '$SHED_HPATH'
if a match is found, this file is opened in your pager
calling the 'help' builtin using :h in ex mode will preserve your current pending line
2026-03-15 18:18:53 -04:00
1f9d59b546
fixed ss3 escape code parsing, added a cursor mode reset that triggers on child exit
2026-03-15 11:11:35 -04:00
101d8434f8
fixed heredocs using the same expansion pathway as regular strings
...
implemented backtick command subs
deferred heredoc expansion until redir time instead of parse time
implemented "$*" expansions
function defs like 'func () { }' now parse correctly
fixed conjunctions short circuiting instead of skipping
2026-03-15 10:49:24 -04:00
9bd9c66b92
implemented '<>' redirects, and the 'seek' builtin
...
'seek' is a wrapper around the lseek() syscall
added noclobber to core shopts and implemented '>|' redirection syntax
properly implemented fd close syntax
fixed saved fds being leaked into exec'd programs
2026-03-14 20:04:20 -04:00
5173e1908d
heredocs and herestrings implemented
...
added more tests to the test suite
2026-03-14 13:40:00 -04:00
307386ffc6
tightened up some logic with indenting and joining lines
...
added more linebuf tests
extracted all verb match arms into private methods on LineBuf
2026-03-13 19:24:30 -04:00
ae73969969
fixed compiler warnings
2026-03-07 00:37:51 -05:00
b137c38e92
completely rewrote test suite for top level src files and all builtin files
2026-03-06 23:42:14 -05:00
cdc9e7e266
fixed compound commands not working in pipelines
...
improved pipe assignment logic to prevent potential resource leaks
2026-03-05 13:34:34 -05:00
e07a853074
the second field of history entries in the hist file now contain command runtime in seconds, instead of an id
...
updated rustfmt.toml and formatted codebase
2026-03-05 10:29:54 -05:00
2ea44c55e9
implemented 'type' and 'wait' builtins
...
fixed some tcsetpgrp() misbehavior
fixed not being able to redirect stderr from builtins
2026-03-01 17:14:48 -05:00
c508180228
Added -j flag to 'complete' for completing job names/pids
2026-02-27 11:03:56 -05:00
8c003f54e2
Fixed issue with pipeline I/O in command substitutions
2026-02-25 17:54:17 -05:00
cd40760ea0
Refactored internals for builtins inside of pipelines
2026-02-24 10:54:24 -05:00
cf46303659
Ran the codebase through rustfmt
2026-02-23 23:32:46 -05:00
129390c2da
Implemented the exec builtin
...
Fixed readline and terminal interactions using stdin instead of /dev/tty
2026-02-20 12:17:48 -05:00
a18a0b622f
command arguments are now underlined if they match an existing path -m ran rustfmt on the entire codebase
2026-02-19 21:32:03 -05:00
9483477edd
fixed the $0 parameter not being populated correctly
2026-02-19 14:24:55 -05:00
3b698628c6
Tab completion has been implemented
...
more small highlighter tune ups
2>&1 style redirections now work properly
2026-02-18 21:53:36 -05:00
43b171fab1
Implemented syntax highlighting
2026-02-18 02:00:45 -05:00
87d465034a
properly implemented read builtin
...
fixed bugs related to redirections and compound commands
improved io routing logic
2026-02-17 17:30:21 -05:00
0e28b7bf49
Various edge case fixes for prompt expansion and command substitution
2026-01-29 04:58:04 -05:00
8ad53f09b3
Added rustfmt.toml, formatted codebase
2025-08-12 13:58:25 -04:00
4af31ba8ef
Reduced the amount of time that file redirections stay open
2025-05-19 00:03:50 -04:00
4d16ffa60f
implemented for loops
2025-04-20 05:16:50 -04:00
937bbbacdd
Cleaned up warnings
2025-03-23 17:41:12 -04:00
32ec62b52f
switched to Arc instead of Rc for input strings
2025-03-23 17:37:15 -04:00
26fc4669f0
Implemented command substitution
2025-03-19 16:46:45 -04:00
0d286ba006
Implemented prompt expansion, and display for errors
2025-03-18 15:54:06 -04:00
da51be27a7
Implemented logic for loops and if statements
2025-03-16 14:28:49 -04:00
505b968c60
Various additions and improvements
2025-03-15 21:04:45 -04:00
2acf70ef96
Implemented assignments, working on job control
2025-03-15 16:57:34 -04:00
97b4b1835d
Progress
2025-03-15 00:02:05 -04:00