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
b46877edde
implemented err pipes
2026-03-05 10:51:24 -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
234f93ee56
fixed comments breaking the parser
2026-03-05 01:26:42 -05:00
7be79a3803
rustfmt'd the codebase
2026-03-04 19:52:29 -05:00
ecd6eda424
panics now also write a log to ~/.local/shed/log/panic.log
2026-03-04 19:39:53 -05:00
206c6cb64e
fixed issues with expansion of case arm patterns
2026-03-04 18:54:06 -05:00
b831bdf166
improvement on parsing accuracy for case patterns
2026-03-04 18:28:16 -05:00
3c70c9dace
work on improving parameter expansion logic
2026-03-04 18:05:48 -05:00
fbadbebf8c
Implemented the autocmd builtin, which allows you to register hooks for certain shell events.
2026-03-04 14:12:10 -05:00
d67b7c2aad
fixed parser bug introduced in recent commit
2026-03-03 22:34:17 -05:00
c642a96da7
Added 'read_key' builtin that allows widget scripts to handle input
2026-03-03 20:39:09 -05:00
9d13565176
Added ex mode to line editor, a 'keymap' builtin, and a zsh-like widget system using ':!<shellcmd>' ex mode commands
2026-03-03 03:19:02 -05:00
a2b8fc203f
Early implementation of fuzzy completion menu
2026-03-02 01:54:23 -05:00
5a62f72947
implemented 'getopts' builtin
2026-03-01 21:16:33 -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
84aed128d6
completion now prefers completing variable names before trying comp specs
...
improved color picking for error messages
2026-03-01 11:02:13 -05:00
ffe78620a9
Fixed 'C' and 'D' verbs deleting the newline character
2026-03-01 02:39:22 -05:00
4a0cefee32
More progress on integrating ariadne's error reporting
2026-03-01 02:20:58 -05:00
ef0f66efaa
Work on integrating error reporting using the ariadne crate
2026-02-28 20:30:12 -05:00
1b63eff783
Add array support for local/export/readonly builtins
...
Add array length syntax ${arr[#]}
Map read path now expands variables before splitting on ., fixing map "$node" with dotted paths
Map assignment path uses quote-aware token splitting, enabling quoted keys like "--type="
Completion errors now display above prompt instead of being overwritten
Fix nested if/fi parser bug when closing keywords appear on separate lines
Add QuoteState enum, replacing ad-hoc quote tracking booleans across lexer, highlighter, and expansion
Add split_tk_at/split_tk for quote-aware token splitting with span preservation
Refactor setup_builtin to accept optional argv for deferred expansion
Add ariadne dependency (not yet wired up)
2026-02-28 15:54:53 -05:00
c61360865f
added 'map', 'pop', 'push', 'fpop', 'fpush', and 'rotate' builtins
2026-02-27 20:37:58 -05:00
ee4eb86ca5
cleaned up all compiler warnings
2026-02-27 11:08:42 -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
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
ef64e22be5
Implemented a gutter with line numbers for multi-line editing
2026-02-25 19:55:48 -05:00
8c003f54e2
Fixed issue with pipeline I/O in command substitutions
2026-02-25 17:54:17 -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
59b8925de3
Fixed functions not properly forking a new process when executed in a pipeline
2026-02-24 16:03:22 -05:00
b549880687
subshells now fork a new process
2026-02-24 15:15:30 -05:00
fc377f4716
Fixed 'command' builtin executing shell functions with same name as the command
2026-02-24 14:54:36 -05:00
478374814e
fixed new crash caused by recent refactor
2026-02-24 14:18:36 -05:00
cd40760ea0
Refactored internals for builtins inside of pipelines
2026-02-24 10:54:24 -05:00
fa49e2ef70
Fixed command substitutions not expanding when used as a command name
2026-02-23 23:32:12 -05:00
9361c561b4
autocd will now prioritize running a command if a directory name is entered that matches the name of a command
2026-02-23 21:05:59 -05:00
46d6d5319f
Added auto-indent to multi-line editing -m Added shopt for enabling/disabling auto-indent -m Fixed some multi-line editing render bugs -m Scrolling up in history now preserves undo/redo history in the pending command
2026-02-23 20:52:33 -05:00
fa3d376659
Fixed some hangs in the lexer
2026-02-23 19:21:57 -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
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