ab5f42b281
Stuff stored in maps can be eval'd on access by storing with the -F flag
2026-02-28 01:41:16 -05:00
c61360865f
added 'map', 'pop', 'push', 'fpop', 'fpush', and 'rotate' builtins
2026-02-27 20:37:58 -05:00
bfe23b9cd4
Added alias (-a) and signal (-S) flags for 'complete' and 'compgen'
2026-02-27 13:10:24 -05:00
c559d1cc75
ran clippy fix
2026-02-27 11:05:08 -05:00
c508180228
Added -j flag to 'complete' for completing job names/pids
2026-02-27 11:03:56 -05:00
3d3693e2c3
Implemented -o opt for complete/compgen builtins
...
Completion candidates now come with a space by default, unless it's a directory
2026-02-27 09:44:33 -05:00
30bc394d18
Fixed possible refcell borrow panic related to expanding variables in an array index
2026-02-27 02:14:40 -05:00
5f3610c298
Early implementation of bash-like completions with 'complete' and 'compgen' builtins
2026-02-27 01:10:52 -05:00
ccb1f43915
Implemented arrays and array indexing
2026-02-26 00:32:54 -05:00
e82f45f2ea
Extracted readline from the dead prompt module
2026-02-25 20:00:19 -05:00
2d0d919e66
Prompt now only redraws on completed jobs and new commands
...
Tab completion now finds env var names as well as internally set names
2026-02-25 16:48:49 -05:00
df5f1d5778
fixed commands not getting hashed through symlinks
2026-02-25 16:03:42 -05:00
28ce008234
Various line editor fixes and optimizations
2026-02-25 15:43:08 -05:00
854e127545
Added PSR environment variable for drawing a string on the right side of the prompt
...
Pending normal mode sequences are now shown in the top right of the prompt
2026-02-25 01:13:12 -05:00
90e69f96d2
changed package name from 'fern' to 'shed'
2026-02-24 18:02:13 -05:00
2f0cb931d6
implemented builtins: readonly, unset, true, false, and : (no-op)
2026-02-24 17:57:09 -05:00
59b8925de3
Fixed functions not properly forking a new process when executed in a pipeline
2026-02-24 16:03:22 -05:00
39893b3a1f
Added more accurate logic for @ expansion
2026-02-23 21:16:29 -05:00
d9ff02b7a5
Fixed mutation of variables created by the local command
2026-02-23 19:04:31 -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
982d11f21b
implemented the trap builtin
2026-02-19 16:39:18 -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
12f36283ca
fixed empty arguments being filtered out during word splitting
2026-02-16 19:09:10 -05:00
0e28b7bf49
Various edge case fixes for prompt expansion and command substitution
2026-01-29 04:58:04 -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
7f3e1cfcee
renamed fern.rs back to main.rs
2026-01-28 19:57:14 -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
94e22d68f3
about to implement readline myself
2025-05-15 00:53:39 -04:00
2666670939
began work on implementing those weird variable string op things
2025-05-12 01:04:53 -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
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
d673bb692f
implemented functions
2025-03-16 16:57:58 -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
d4f8f023af
re-imported job/signal code from old implementation
2025-03-15 17:14:52 -04:00
2acf70ef96
Implemented assignments, working on job control
2025-03-15 16:57:34 -04:00