e82f45f2ea
Extracted readline from the dead prompt module
2026-02-25 20:00:19 -05:00
28ce008234
Various line editor fixes and optimizations
2026-02-25 15:43:08 -05:00
2f0cb931d6
implemented builtins: readonly, unset, true, false, and : (no-op)
2026-02-24 17:57:09 -05:00
fee45145c8
flow control keywords are now highlighted purple
2026-02-24 16:22:59 -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
f8e02d31cd
- fixed 'I' command in normal mode not moving to exact start of line
...
- Added disown builtin
- Fixed job table not hanging up child processes on exit
- Added target architecture and os to --version output
- Added local builtin for creating variables scoped to functions
2026-02-23 16:10:49 -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
2184b9b361
implemented the pushd, popd, and dirs builtins
2026-02-20 01:29:40 -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
18e36622a0
handled some unwraps in cd
...
error reporting now blames the function call span instead of the errored command inside the function
2026-02-19 18:27:51 -05:00
982d11f21b
implemented the trap builtin
2026-02-19 16:39:18 -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
a4f48abd49
Added prompt escape code expansion flag to echo, -p
...
Added non-formatted runtime to prompt escape codes
Added prompt escape code that expands to the output of a shell function
Reworked internal logic for termios control
2026-01-29 03:46:35 -05:00
70f0e849ba
Fixed logic for EINTR propagation
2026-01-28 20:48:29 -05:00
ad0e4277cb
Implemented proper variable scoping
...
Extracted business logic out of signal handler functions
Consolidated state variables into a single struct
Implemented var types
2026-01-28 19:30:48 -05:00
8ad53f09b3
Added rustfmt.toml, formatted codebase
2025-08-12 13:58:25 -04:00
220f636ebd
removed placeholder text in prompt
...
cd no longer panics if the given directory doesn't exist (wtf?)
2025-05-29 01:29:25 -04:00
25e85edab0
Added regex to [[ ]] tests
2025-05-13 00:48:19 -04:00
3155db5565
implemented the 'builtin' and 'command' builtins
2025-05-08 21:21:23 -04:00
4d16ffa60f
implemented for loops
2025-04-20 05:16:50 -04:00
80b6453597
Implemented subshells and improved error handling
2025-03-29 22:16:26 -04:00
9989663c97
added the ability to export existing variables
2025-03-27 01:35:56 -04:00
1854578d49
Improved error reporting and fully implemented the shopt command
2025-03-26 23:41:19 -04:00
30cd3c0b73
Implemented flags and extra safety for zoltraak
2025-03-24 20:25:38 -04:00
70d114254d
Implemented a new builtin and improved error handling
2025-03-24 17:53:32 -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
8fffe1cd71
Implemented an abstraction for extracting flags from builtins
2025-03-22 20:10:47 -04:00
26fc4669f0
Implemented command substitution
2025-03-19 16:46:45 -04:00
255a4586b4
added another test for the parser
2025-03-19 15:16:43 -04:00
19dee4bcd6
Re-implemented aliases
2025-03-18 21:50:53 -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
92d7766765
Early work on scripting features
2025-03-16 02:56:29 -04:00
c0fb3f5914
Re-implemented more job control logic
2025-03-16 00:16:33 -04:00
505b968c60
Various additions and improvements
2025-03-15 21:04:45 -04:00
7f21e5baa7
Adapted old code to fit new codebase
2025-03-15 17:54:08 -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
e81c4903b9
Implemented brace expansion
2025-03-10 01:50:12 -04:00
58abe3bc3d
Implemented prompt expansion
2025-03-09 03:30:03 -04:00
90a188d4b2
Implemented heredocs and herestrings
2025-03-09 00:34:49 -05:00
cdcfb23edb
Implemented scoping for expansions
2025-03-08 01:38:42 -05:00
972e2ceefa
Improved logic surrounding expansion of assignments
2025-03-07 19:12:28 -05:00
fb0a3af428
Implemented arithmetic substitution
2025-03-07 04:30:17 -05:00
11576e9e08
Various improvements
2025-03-07 03:36:25 -05:00
d35ff7bc6f
Implemented case statements
2025-03-06 15:32:28 -05:00