Repository navigation
v0.1.0
Go at it!
The first release of ash: a shell with fish's comfort that also runs bash.
What you get
I previously used Fish and had a problem with one-line scripts for bash not working and having to rewrite it in Fish. Ash supports both syntaxes, as well as niceties of Fish and Bash.
Also, it is blazingly fast!
Install
brew install andrinoff/tap/ashOr download a build below: macOS and Linux (x86_64 and arm64), plus deb, rpm, apk and Arch packages.
This project is young, so expect bugs. Mostly hand-written and took 3-4 months to release.
Changelog
New!
- b713456: feat(complete): add the completion engine and the complete builtin (drew)
- 23913eb: feat(complete): let cobra programs complete themselves (drew)
- 38a6488: feat(complete): match, escape and order candidates (drew)
- 60e1566: feat(complete): scan the command line up to the cursor (drew)
- 93db38d: feat(complete): use the completions and helpers built into fish (drew)
- 4148adb: feat(editor): add completion types (drew)
- b8e6e33: feat(editor): add editing functions and kill ring (drew)
- e37dbc3: feat(editor): add emacs bindings and user binds (drew)
- da43a53: feat(editor): add incremental history search (drew)
- 0b58d79: feat(editor): add the completion pager (drew)
- f9ea8ad: feat(editor): add the read loop and tty reader (drew)
- 1bfeff1: feat(editor): add vi mode (drew)
- be4e918: feat(editor): bring back a stopped job with ctrl-z on an empty line (drew)
- 05be527: feat(editor): decode terminal key sequences (drew)
- 666096a: feat(editor): explain the command line on alt-w (drew)
- 6d74797: feat(editor): let kitty move the cursor on a click (drew)
- b79f49e: feat(editor): measure display width of runes and prompts (drew)
- 3c17c1c: feat(editor): offer a suggestion on an empty line (drew)
- 0e9a76a: feat(editor): render with line diffing and wrapping (drew)
- 0192b56: feat(editor): search history with the arrow keys (drew)
- bcc09e5: feat(editor): show what the word under the cursor expands to (drew)
- e3cec30: feat(editor): switch the history search's scope with ctrl-r (drew)
- 5846941: feat(history): add an append-only history store (drew)
- 3589d56: feat(history): add fuzzy search for an interactive history search (drew)
- 15a61ec: feat(history): import fish, zsh and bash history (drew)
- 9cb3557: feat(history): narrow the fuzzy search with a filter (drew)
- f0f099a: feat(integrate): activate mise natively (drew)
- cc5214b: feat(integrate): add fzf history, file and cd widgets (drew)
- dd2e072: feat(integrate): add the integrate builtin and starship (drew)
- f33651a: feat(integrate): add zoxide with z and zi (drew)
- 29c689f: feat(integrate): cd on exit for yazi, lazygit, nnn, lf, ranger and broot (drew)
- cb34275: feat(integrate): load direnv environments before each prompt (drew)
- 60c636d: feat(integrate): port rupa/z and jethrokuan/z natively (drew)
- 8c81013: feat(integrate): record history in atuin and search it on ctrl-r (drew)
- 573955c: feat(plugin): leave the exit report to whoever waits for a plugin (drew)
- 30f2af6: feat(plugin): let plugins run shell code with an eval action (drew)
- 1f88b5b: feat(plugin): run plugins that speak JSON lines (drew)
- f6b453d: feat(plugin): send the last prompt event to a plugin that starts late (drew)
- c0ccd56: feat(plugin): tell completion plugins the shell's directory (drew)
- c60a33d: feat(repl): add the interactive loop (drew)
- 00ff6dc: feat(repl): apply child actions and suggest the corrected command (drew)
- 7249db6: feat(repl): apply plugin actions before each prompt and while waiting at it (drew)
- 4cb8194: feat(repl): expand abbreviations and !! in the editor (drew)
- b8caef9: feat(repl): highlight, complete and vet suggestions with the shell (drew)
- bdeab3b: feat(repl): import the previous shell's history on first run (drew)
- 5d78c7d: feat(repl): keep commands with credentials out of history (drew)
- cdece91: feat(repl): keep history in the history store (drew)
- d691cdf: feat(repl): notify when a long command finishes (drew)
- a692395: feat(repl): preview expansions while typing (drew)
- c63e10d: feat(repl): render starship and built-in prompts (drew)
- aebf426: feat(repl): search the history of this directory, repository or failed commands (drew)
- 89fd313: feat(repl): show plugin segments in the built-in prompt and to starship (drew)
- 9925c9e: feat(repl): show where and how commands ran in history browse (drew)
- 781cded: feat(shell): add abbreviations (drew)
- f4e4271: feat(shell): add brace expansion (drew)
- da08756: feat(shell): add cached, which runs a command once and reuses its output (drew)
- 31e4a0a: feat(shell): add cd and directory stack builtins (drew)
- d4034da: feat(shell): add choose and the directory and history pickers (drew)
- c7c9224: feat(shell): add clip (drew)
- fd54d84: feat(shell): add commandline and bind (drew)
- 7365077: feat(shell): add core builtins (drew)
- 58f6a2e: feat(shell): add explain (drew)
- 7ff6913: feat(shell): add export, local, declare and unset (drew)
- 8ec420f: feat(shell): add fish's argparse (drew)
- 0c0d87f: feat(shell): add fish's math (drew)
- db6032c: feat(shell): add fish's path builtin (drew)
- 21b6710: feat(shell): add fish's string builtin (drew)
- aaca4c3: feat(shell): add fork and helpers for the repl (drew)
- 0b3649d: feat(shell): add functions, autoloading and events (drew)
- a050059: feat(shell): add glob matching with ** and natural sort (drew)
- 7636003: feat(shell): add history --here and --failed (drew)
- b536892: feat(shell): add history browse (drew)
- 906aca8: feat(shell): add history builtin (drew)
- faf0362: feat(shell): add hooks for the interactive frontend (drew)
- dc67fb3: feat(shell): add integer arithmetic (drew)
- 03ec4ca: feat(shell): add interpreter state and i/o streams (drew)
- 26694a6: feat(shell): add jobs, fg, bg, kill and trap (drew)
- ffadd90: feat(shell): add list variables with sh and fish scoping (drew)
- c533647: feat(shell): add printf with bash extensions (drew)
- 1b69950: feat(shell): add read (drew)
- 7518d1b: feat(shell): add set with sh and fish semantics (drew)
- d566f7d: feat(shell): add source, exec, alias and type (drew)
- 16ebce5: feat(shell): add status, functions and random (drew)
- 1ed6860: feat(shell): add test and [[ ]] (drew)
- f93ebc0: feat(shell): add the plugin builtin and run plugin commands like builtins (drew)
- da43772: feat(shell): add themes and set_color (drew)
- 5be25a4: feat(shell): add umask, ulimit, getopts and times (drew)
- 665dab0: feat(shell): allow extra autoload directories (drew)
- ac57c65: feat(shell): apply redirections (drew)
- 07426a4: feat(shell): describe what the word at the cursor expands to (drew)
- 6dc0d16: feat(shell): expand parameters (drew)
- 5a5baf4: feat(shell): expand words into fields (drew)
- 23b8fa0: feat(shell): explain redirections, pipes and && / || (drew)
- 738b89e: feat(shell): highlight command lines and vet history suggestions (drew)
- 992dced: feat(shell): let child processes cd and set variables in the shell (drew)
- 25c9ea8: feat(shell): look up commands in PATH (drew)
- 3dea7b5: feat(shell): persist universal variables (drew)
- 138e9aa: feat(shell): pick a directory with cdh (drew)
- cf8e2fe: feat(shell): remember typos the shell can correct (drew)
- 50ec5e0: feat(shell): run pipelines and background jobs (drew)
- da45435: feat(shell): run simple and external commands (drew)
- 703b3dc: feat(shell): run statements and control flow (drew)
- 54526c7: feat(shell): set PATH from /etc/paths in macOS login shells (drew)
- 9c47c09: feat(shell): set the version at build time (drew)
- 794cd46: feat(shell): time top-level statements and sourced files for --profile (drew)
- c269224: feat(shell): track jobs and hand over the terminal (drew)
- dce0f24: feat(syntax): add ast for sh and fish constructs (drew)
- 3642436: feat(syntax): parse brace expansions (drew)
- 0f37edb: feat(syntax): parse compound commands in both styles (drew)
- f86f7e9: feat(syntax): parse parameter and command expansions (drew)
- c1231f3: feat(syntax): parse statements, pipelines and redirections (drew)
- d113cf1: feat(syntax): parse words, quotes and escapes (drew)
- 1e5e645: feat(term): add termios, window size and foreground helpers (drew)
- 319134e: feat(tui): add Bubble Tea pickers for lists, directories and history (drew)
- f4ea6da: feat(tui): add fuzzy matching with fzf's scoring (drew)
- acf7c69: feat: add --profile and ASH_PROFILE, reported after the first prompt (drew)
- 82ae37a: feat: add command line entry point (drew)
- d7ec2d8: feat: measure --profile from when the process started on macOS (drew)
- 1f4e7e0: feat: show the docs with help TOPIC (drew)
- ff4f8ac: feat: start the repl for interactive shells (drew)
Faster
- 92b93a8: perf(complete): don't read all of $history for a description (drew)
- 91aa332: perf(editor): don't copy a paste that is still arriving on every read (drew)
- 8040ab5: perf(exec): start programs with posix_spawn on macOS (drew)
- 8eed377: perf(expand): run substitutions of pure builtins without a subshell (drew)
- 97b85ed: perf(history): compact the history file once half of it is duplicates (drew)
- a1698dc: perf(pipeline): run pipelines of pure builtins one element at a time (drew)
- eea3ab3: perf(plugin): start plugin processes in the background (drew)
- 30902d5: perf(repl): start plugins once the first prompt is drawn (drew)
- 48d7755: perf(shell): don't treat a lone [ as a glob pattern (drew)
- ad8bf3e: perf(shell): make ${x//pat/rep} and the trims linear for usual patterns (drew)
- 1655e48: perf(shell): only dedupe preview glob matches when a pattern has two ** (drew)
- 04799c0: perf(shell): seed a subshell's random generator on first use (drew)
- f555526: perf(shell): take no allocation when there are no plugin actions (drew)
- 989dcf5: perf(string): reuse the buffers of string's input and output (drew)
Fixed
- 12e6396: fix(complete): bare complete -C reads the line being completed (drew)
- 761ddae: fix(complete): bound wildcard expansion (drew)
- 540bafd: fix(complete): complete a wildcard in a directory name (drew)
- d7a4caf: fix(complete): don't reuse a listing read just after a change (drew)
- 94f3cf3: fix(complete): extract all of fish's _ helpers (drew)
- 9cc01c4: fix(complete): keep $NAME in the token complete -C prints (drew)
- 927f627: fix(complete): load a command's function to find what it wraps (drew)
- 0b71781: fix(complete): scan function bodies for each completion (drew)
- 12d6c70: fix(complete): source completion files again after a subshell did (drew)
- 4680488: fix(complete): survive a panic in completion code (drew)
- c89c530: fix(editor): copy only on ctrl-x, through OSC 52 over SSH (drew)
- 3fc52ee: fix(editor): decode ctrl-_ and the other ctrl-punctuation keys so ctrl-_ undoes (drew)
- 35401ab: fix(editor): delete kitty graphics images on ctrl-l (drew)
- e6c9b77: fix(editor): don't drop the keys of an unfinished multi-key binding (drew)
- 87f715b: fix(editor): don't keep one word's preview under another (drew)
- 15267f5: fix(editor): don't let a slow prompt render replace a newer one (drew)
- f4ee1ad: fix(editor): don't read past a candidate that prefixes another (drew)
- 195e673: fix(editor): don't reuse stale offsets after a binding replaces the command line (drew)
- 1b9537b: fix(editor): don't swallow the key after an escape sequence that was cut short (drew)
- 7e824a0: fix(editor): draw control characters in pager entries instead of writing them raw (drew)
- 044b8c0: fix(editor): draw the line when a binding's command reads the waiting input (drew)
- ae3dc20: fix(editor): find the command under the cursor in non-ASCII lines without panicking (drew)
- 9f6affa: fix(editor): find the history match to highlight by runes, not lowercased bytes (drew)
- f0d5adb: fix(editor): find where to start a long history search query in linear time (drew)
- e2a4ad3: fix(editor): handle a key waiting for a multi-key binding before a paste (drew)
- 4816849: fix(editor): handle keys typed while a queued function had the terminal (drew)
- ef88257: fix(editor): keep shell history out of read, as Simple documents (drew)
- 7fd1a35: fix(editor): keep the command line when a key binding reads a line (drew)
- 0c6d4c8: fix(editor): keep the history search within the screen's width (drew)
- 92aee47: fix(editor): let read accept text that looks like an unfinished command (drew)
- 0692d2a: fix(editor): measure emoji sequences the way terminals draw them (drew)
- d68971c: fix(editor): no blank line after accepting a line that fills the row (drew)
- a1d2098: fix(editor): page up/down in the pager stay in the selected column (drew)
- 9cc0a8b: fix(editor): parse key names that contain a backslash as names (drew)
- 3fdae95: fix(editor): paste into the history search query while it is open (drew)
- 721e08c: fix(editor): read the terminal a byte at a time so typeahead reaches the next command (drew)
- b54f677: fix(editor): scroll a long history search query instead of wrapping its line (drew)
- 5d03bbe: fix(editor): time out incomplete input from the last byte, so slow pastes aren't cut (drew)
- de26167: fix(editor): undo a completion or history pick back to the text typed before it (drew)
- 0dd5025: fix(editor): work the preview out again after a key binding runs (drew)
- 703a23b: fix(editor): wrap prompt lines wider than the terminal (drew)
- 476c30c: fix(exec): don't take the runtime's descriptors for inherited ones (drew)
- f304537: fix(exec): keep descriptors copied from the table by a redirection (drew)
- ee3f581: fix(exec): keep exec'd descriptors in a table, scoped to their shell (drew)
- a56778f: fix(exec): reset $pipestatus after a command that isn't a pipeline (drew)
- ff573c4: fix(highlight): accept ${!prefix*} (drew)
- b1b0798: fix(highlight): bound directory listings for prefix matches (drew)
- 5589fa6: fix(highlight): color heredoc lines past a NUL byte (drew)
- 3950ce0: fix(highlight): don't cache missing commands for the executor (drew)
- f7d5e38: fix(highlight): don't flag names looked up by command -v (drew)
- abd13ad: fix(highlight): don't hide cd suggestions when out of time (drew)
- b795c97: fix(highlight): suggest fish-style function definitions (drew)
- 5dd163d: fix(highlight): treat time after | or an assignment as the program (drew)
- d20eaf1: fix(history): don't panic on fuzzy queries of 32768+ runes (drew)
- ebf2413: fix(history): keep the history file's owner and mode when rewriting it (drew)
- 3227906: fix(history): never append to a history file that has been replaced (drew)
- b773c9e: fix(history): never rename a file over a history that isn't a file (drew)
- f662d99: fix(history): skip the unfinished last line of a fish history (drew)
- 4243b95: fix(integrate): don't crash when background work outlives a wait (drew)
- 0c1016b: fix(integrate): don't lose zoxide adds batched with a removed dir (drew)
- 00d5f14: fix(integrate): keep the command line when atuin search fails (drew)
- b3069b4: fix(integrate): keep z -c below the current directory (drew)
- 4d13543: fix(integrate): print a completed directory with z -e (drew)
- 7b379da: fix(jobs): decode stopped and continued children correctly on darwin (drew)
- 63888ee: fix(jobs): give backgrounded blocks and functions their own interrupt (drew)
- 5c3b075: fix(jobs): hang up a backgrounded block's commands when the shell exits (drew)
- 87b62aa: fix(jobs): let ctrl-c stop builtins in a pipeline with externals (drew)
- 1f70431: fix(jobs): make wait interruptible and report the right status (drew)
- 60f7464: fix(jobs): reap background jobs in scripts and disowned jobs (drew)
- 98f7e74: fix(jobs): report background jobs that stop (drew)
- 678c283: fix(jobs): take the terminal back when a pipeline's processes exit (drew)
- 6198ce0: fix(kill): accept -- before the targets (drew)
- 7939709: fix(plugin): fail a request at once when its answer has a bad value (drew)
- 5ab8289: fix(redirect): create noclobber files exclusively (drew)
- 35c9b55: fix(repl): call fish_title without arguments at the prompt (drew)
- 85af19e: fix(repl): close the OSC 133 command mark for empty lines (drew)
- 30e1446: fix(repl): ctrl-c in read stops the running command (drew)
- 163476d: fix(repl): don't let key bindings change $status (drew)
- 7453631: fix(repl): don't let read take over a line the editor is reading (drew)
- c46db78: fix(repl): don't race on the remembered prompt (drew)
- fad5a7d: fix(repl): hand the terminal back while plugin actions run code at the prompt (drew)
- e9c953d: fix(repl): keep $status when an abbreviation function expands (drew)
- 42ba70d: fix(repl): keep raw mode when prompt functions run external commands (drew)
- 2d76262: fix(repl): leave right away when a key binding runs exit (drew)
- 00471f7: fix(repl): let a second exit leave the shell when jobs are stopped (drew)
- 2b171fd: fix(repl): make sure plugins start when the editor's queue drops it (drew)
- 60baf24: fix(repl): pass the transient prompt the last command's status (drew)
- 7434004: fix(repl): queue one look at the jobs per burst of SIGCHLD (drew)
- b2feaa6: fix(repl): refresh the prompt after a job notice (drew)
- f41acdf: fix(repl): restore the terminal and run exit handlers on SIGHUP (drew)
- 4e7b901: fix(repl): set the title inside the suspension after a plugin's cd (drew)
- b80faca: fix(repl): show fish_right_prompt without a fish_prompt (drew)
- 0693829: fix(repl): use starship's continuation prompt (drew)
- 38c5014: fix(shell): ${!RANDOM} in a preview leaves the random state alone (drew)
- 450d46b: fix(shell): a preview glob that runs out of budget says N+ matches (drew)
- f3e1d74: fix(shell): accept symbolic modes in umask (drew)
- df24404: fix(shell): an empty line is one element in fish (cmd) output (drew)
- 69483a1: fix(shell): apply ${PATH%...} to the joined path like bash (drew)
- ea11124: fix(shell): apply operators to each element of "$" and "${a[]}" (drew)
- 06b11d2: fix(shell): arithmetic previews report division by zero (drew)
- 5e1a8d0: fix(shell): close a background pipeline's process substitution pipes (drew)
- c0c785f: fix(shell): compare large integers exactly in test (drew)
- d4f79e2: fix(shell): compute ** by squaring instead of looping (drew)
- d07fafd: fix(shell): count indirect, quoted and indexed lists in the preview's field estimate (drew)
- d82d7a4: fix(shell): count the pattern's length in the preview's work estimate (drew)
- b667422: fix(shell): do not read an escaped star next to * as ** (drew)
- 7bb7c42: fix(shell): don't block starting a job on a FIFO redirection (drew)
- d16730d: fix(shell): don't hang when ctrl-z stops a command whose output is captured (drew)
- 674c965: fix(shell): don't keep the previous theme's colors on theme choose (drew)
- 58de9d4: fix(shell): don't let abbr --rename replace another abbreviation (drew)
- 82a3517: fix(shell): don't let functions --copy overwrite a function (drew)
- 08dc443: fix(shell): don't let subshells close the parent's <(...) pipes (drew)
- c637945: fix(shell): don't register statements after the profile stopped (drew)
- 98c4f05: fix(shell): don't stop echo -e at an escaped backslash before c (drew)
- 39f52f2: fix(shell): drop trailing newlines from unquoted $(...) (drew)
- 0b1e273: fix(shell): evaluate [[ ]] number operands as arithmetic like bash (drew)
- cca8654: fix(shell): evaluate an arithmetic subscript only once (drew)
- 662b26a: fix(shell): exit a script on ${x:?} and set -u errors (drew)
- df5d748: fix(shell): expand
${x@E} like $ '...', not like echo -e (drew) - 956a918: fix(shell): expand a tilde that brace expansion puts at a word start (drew)
- bacbded: fix(shell): fail on deeply nested arithmetic instead of crashing (drew)
- 3682e73: fix(shell): find FIFO redirections before expanding the command (drew)
- 2b2a23e: fix(shell): fix CDPATH lookup order and cd -P (drew)
- 8230b4b: fix(shell): follow fish slice direction rules for $x[a..b] (drew)
- 7f7a85d: fix(shell): give a file sourced more than once one set of profile rows (drew)
- 6ede36d: fix(shell): give local arr=(...) its value again (drew)
- 191bec4: fix(shell): give subshells their own $dirprev (drew)
- cd4bc7b: fix(shell): honor popd and dirs arguments, abbreviate HOME at a boundary (drew)
- ae5ddca: fix(shell): keep $status when applying plugin actions (drew)
- 09b84f3: fix(shell): keep a lone empty line from (cmd) as one element (drew)
- 49a7304: fix(shell): keep expansions inside unexpanded braces (drew)
- 7f768bd: fix(shell): keep local x and export x unset until assigned (drew)
- 8185a31: fix(shell): keep quoted ! ^ and - literal inside brackets (drew)
- 9602804: fix(shell): keep sane tty changes made by a foreground job (drew)
- 67b7963: fix(shell): leave if conditions out of the profile, they belong to the if (drew)
- cd0f0a7: fix(shell): let SECONDS=n reset the timer and RANDOM=n seed it (drew)
- bd5835f: fix(shell): let commands share heredoc input like a file (drew)
- 7ef619f: fix(shell): let fish configs set UID and EUID again (drew)
- d348e33: fix(shell): list every process's tokens in commandline -o (drew)
- 0c7bbed: fix(shell): make "${@:2}" and friends vanish when empty (drew)
- 8482f2a: fix(shell): make $(< file) substitute the file's contents (drew)
- 4ba48d0: fix(shell): make a trailing ** match everything below it (drew)
- 1d6a82e: fix(shell): make command -V describe commands and type -P fail quietly (drew)
- 906b6e4: fix(shell): make history merge pick up other shells' commands (drew)
- 93225c1: fix(shell): make read split fields and handle escapes like bash (drew)
- 33946d8: fix(shell): make set -l, -g and -U query, erase and list their scope (drew)
- d1bb41b: fix(shell): never split a multibyte character in ${x%pat} and friends (drew)
- 8562ded: fix(shell): no preview inside here-document bodies (drew)
- a311d9c: fix(shell): only read stdin in count when input is piped (drew)
- 42f80c3: fix(shell): only trim IFS whitespace in read (drew)
- b4e6d00: fix(shell): parse arithmetic constants like bash (drew)
- d2878ea: fix(shell): pass inherited env vars with non-identifier names to children (drew)
- 7f6ff56: fix(shell): print functions -n one name per line when piped (drew)
- 3c16372: fix(shell): reject TTLs a duration can't hold and empty --watch names in cached (drew)
- c06b2dc: fix(shell): reject index 0 in fish slices like fish does (drew)
- 4b83f09: fix(shell): restore positional parameters after source FILE ARGS (drew)
- 5245f49: fix(shell): run a subshell's EXIT trap when the subshell ends (drew)
- f58b1c4: fix(shell): run commands with redirections in their job's process group (drew)
- 8a453a0: fix(shell): run signal traps instead of aborting the script (drew)
- f7a4448: fix(shell): run trap handlers for signals instead of aborting (drew)
- 59cd9e4: fix(shell): run trap handlers while read waits for input (drew)
- b82d27c: fix(shell): set PPID, UID and EUID (drew)
- c8ebb8f: fix(shell): show nothing when a preview glob runs out of time (drew)
- a41f237: fix(shell): sort glob results case-insensitively like fish (drew)
- 1fc3024: fix(shell): start no plugins once ClosePlugins has run (drew)
- 10c04b2: fix(shell): start vared from the variable's current value (drew)
- 27f97f4: fix(shell): stop a cached function when its reader goes away (drew)
- eaa2b19: fix(shell): stop brace sequences from overflowing (drew)
- 3bd52ff: fix(shell): stop getopts panicking on a stale option cluster (drew)
- 299eafc: fix(shell): stop keeping output once cached is done with the command (drew)
- c2660b9: fix(shell): stop letter brace ranges from overflowing too (drew)
- 32aca72: fix(shell): stop random panicking on ranges wider than int64 (drew)
- aeee675: fix(shell): stop set -U from wiping other universal variables (drew)
- 3cb9ea6: fix(shell): stop the command cache from going stale (drew)
- d527b99: fix(shell): take substrings and @q of PATH lists on the :-joined value (drew)
- 22ed16c: fix(shell): write a heredoc's body before its command starts (drew)
- 267ec35: fix(syntax): accept a command after cmd & (drew)
- cc2bc72: fix(syntax): accept a process substitution as a redirection target (drew)
- 60ce868: fix(syntax): allow 'in' on the line after 'for x' (drew)
- 5cfb75a: fix(syntax): allow a newline between if or while and the condition (drew)
- cbed61c: fix(syntax): don't end [[ at the ]] of a pattern bracket expression (drew)
- 2326eab: fix(syntax): don't end [[ at the ]] of a regex bracket expression (drew)
- e8af540: fix(syntax): don't run a heredoc body as the next function's code (drew)
- 520c63e: fix(syntax): don't take the closing quote of $'...\c' as the control char (drew)
- adb8e7b: fix(syntax): don't wait for another line when it can't help (drew)
- 5419895: fix(syntax): expand a lone ~ in ${x:-~} (drew)
- 45b9e6f: fix(syntax): expand fish's {$var} in .fish files (drew)
- e59770a: fix(syntax): keep expansions inside braces in assignment values (drew)
- 1148aee: fix(syntax): look for 'in' after 'for x' without going back (drew)
- fb33f9a: fix(syntax): parse $(( )) and (( )) that span lines as arithmetic (drew)
- d1e6263: fix(syntax): parse function name(){ like bash (drew)
- b012156: fix(syntax): report errors inside heredocs and backquotes where they are (drew)
- aaed729: fix(syntax): treat a trailing backslash after a command as incomplete (drew)
- 83464c8: fix(trap): don't panic on 'trap --' (drew)
- 4d6549f: fix(tui): fold case the same way in the quick check and the scorer (drew)
- 5d9c40e: fix(tui): give punctuation fzf's word-boundary bonus (drew)
- 00781e4: fix(tui): keep rows within the terminal with wide characters (drew)
- d1aafff: fix(tui): match long lines greedily, as fzf does (drew)
- 0bba371: fix(vi): apply counts typed before an operator or f/t (drew)
- b0b5c29: fix(vi): keep the cursor on the line after taking a history search result (drew)
- eaae870: fix(vi): keep the cursor on the text after R and at the selection start after visual ~ (drew)
- b90d5d5: fix(vi): let aw take the blanks before a word that ends the line (drew)
- 54e1f29: fix(vi): make A and dd act on the cursor's line of a multi-line command (drew)
- f819579: fix(vi): make cw stop at the end of the word under the cursor (drew)
- 11883a0: fix(vi): step back only on escape, not when a -m default binding leaves insert mode (drew)
- 4b48581: fix(vi): step the cursor back when leaving insert mode (drew)
- 13ccbbd: fix(vi): stop t and T before a target next to the cursor (drew)
- 46b8a8f: fix: add A SH in the description of goreleaser (drew)
- 6b5a7d7: fix: don't report the EXIT trap as the -c command when -c didn't parse (drew)
- 7340356: fix: expand fish's $$name in .fish files (drew)
- 44a2a63: fix: load universal variables before ash -ic runs its init commands (drew)
- e90c4e9: fix: make -s read commands from stdin with the arguments as $1... (drew)
- a2822df: fix: parse the assignments given to local, declare and export (drew)
- 7dfc460: fix: print the --profile report when a script or -c ends in exec (drew)
- 979b88b: fix: read the config for ash -i -c (drew)
- b54f914: fix: recognize a login shell started as -/path/to/ash (drew)
- 456fe4b: fix: report a bad ${...} when it is expanded, not when parsing (drew)
Docs
- 217dc27: docs(examples): add plugins for git status, command time, make targets and remote control (drew)
- d0703e9: docs(from-fish): list what behaves differently on top of fish (drew)
- 8312019: docs(plugins): quote the path in the lf example, and say how a pane finds the shell (drew)
- cd1eeea: docs(plugins): say how eval and cd run at the prompt (drew)
- 8688abb: docs(plugins): say when loaded plugins start (drew)
- 53a06da: docs(readme): mention $ASH_ACTION_FILE (drew)
- 3749b3a: docs(readme): mention the preview, history scopes, --profile and cached (drew)
- 01730d4: docs(syntax): say what declBuiltin returns (drew)
- f818a33: docs: add README (drew)
- c3435ff: docs: add a guide for fish users (drew)
- e3614c4: docs: add an example config (drew)
- 8842dea: docs: cover history browse and the cdh picker (drew)
- 26d7759: docs: describe configuration (drew)
- ac84305: docs: describe explain and alt-w (drew)
- 7abed01: docs: describe keeping startup fast with --profile and cached (drew)
- ac8300f: docs: describe plugins and the protocol they speak (drew)
- 2e17015: docs: describe the command line editor (drew)
- 24ea2b5: docs: describe the expansion preview (drew)
- c75569d: docs: describe the history search scopes and history --here (drew)
- c58a0a6: docs: describe the integrations (drew)
- cc86c4a: docs: describe the language (drew)
- 691d6ab: docs: describe typo fixes, secret filtering and OSC 52 copy (drew)
- 655666f: docs: explain the action file and TUI integrations (drew)
- 75a7254: docs: list the builtins (drew)
- 7f0008a: docs: match the expansion preview's limits and examples to the code (drew)
- 8505fcd: docs: mention that cobra programs complete themselves (drew)
- 3014b7b: docs: rewrite the readme (drew)
- b5b5216: docs: say that cached keeps failures and ignores other variables (drew)
- f712b59: docs: say what history --here and --failed list (drew)
Other stuff
- ecd64c0: Initial commit (Drew Smirnoff)
- 3626f70: ci: build and test on Linux and macOS (drew)
- d104cd4: ci: drop tag_sort, which only GoReleaser Pro has (drew)
- 63425c4: ci: lint with Charm's golangci-lint config (drew)
- cb38326: ci: publish a Homebrew cask to andrinoff/homebrew-tap, drop signing (drew)
- f963395: ci: release macOS and Linux builds with GoReleaser (drew)
- 5a0a066: refactor(repl): build terminal sequences with charmbracelet/x/ansi (drew)
- d6d5553: style(shell): gofmt (drew)
- a764d6e: test(complete): add a speed test and benchmarks (drew)
- 0f92792: test(complete): cover fish argument lists, ~user and nested complete -C (drew)
- e4c45bb: test(complete): fuzz completion of odd command lines (drew)
- 63c2998: test(editor): benchmark the preview check on a word that expands too (drew)
- f26bae7: test(editor): check commonPrefix with a candidate that prefixes another (drew)
- e4b6fed: test(editor): cover keys, layout, editing and vi motions (drew)
- 8a1d1ab: test(editor): wait for the reader's answer instead of a fixed sleep (drew)
- b7ecda1: test(history): add benchmarks for loading, suggesting and searching (drew)
- 0995728: test(history): cover unwritable files, long commands and the shell interface (drew)
- a8e5fcc: test(history): fail cleanly when a long command finds no match (drew)
- 490fb71: test(repl): benchmark the history search in each scope (drew)
- d8dcd29: test(repl): cover abbreviation and history expansion (drew)
- 6b0ca89: test(repl): keep the history store out of the home directory (drew)
- b2ae907: test(shell): add loop benchmarks (drew)
- abf4ce8: test(shell): add script test helpers (drew)
- ae89123: test(shell): check a job stopped with SIGSTOP is reported as stopped (drew)
- 013d211: test(shell): check set -U keeps variables saved by other shells (drew)
- 451b933: test(shell): check wait reports background functions' and groups' status (drew)
- 6ca011a: test(shell): check wait's statuses and that wait -n takes the first job (drew)
- 2348347: test(shell): compare argparse with fish (drew)
- 275b86c: test(shell): compare math with fish (drew)
- 830b5a3: test(shell): compare path with fish (drew)
- 55f8ca2: test(shell): compare printf with fish and bash (drew)
- 8b05180: test(shell): compare string with fish (drew)
- 7bc78ee: test(shell): cover process substitution and path params (drew)
- 4a8bc17: test(shell): cover the action file and refuse code in it (drew)
- e7b2f2e: test(shell): fuzz and benchmark highlighting (drew)
- a1819ef: test(shell): look for an exported variable in one environment listing (drew)
- b0a7a02: test(shell): restore the working directory after the action test (drew)
- fc56600: test(syntax): add a parser fuzz test (drew)
- fa74295: test(syntax): cover sh, fish and incomplete input (drew)
- 0a1de0f: test(tui): wait for a picker's last bytes before checking them (drew)
- 2a86c0a: v0.1.0 (drew)