Interactive line editor with the lang command (alias L).
The parser is a provisional NS-15 word split: bare words, literal double quotes, and -name value passed through.
nu and bash syntax modes are not implemented yet.
External programs are started with the parsed words. This shell does not emulate another shell’s builtins.
dub test --compiler=ldc2
dub build --compiler=ldc2
dub run -- -helpThe locale table is the registry package langcodes (~>0.1.0).
Do not commit a path dependency. A local dub add-override is only for development, and CI rejects it.
The command is plush. Releases up to v0.2.1 were published as open-shell (same shell, old name, old config folder).
Version 0.3.0 renamed the package, the command, the release files, the config folder and the Terminal fragment.
The current release is v0.3.1; it fixes the Windows Terminal fragment install script.
The DUB package is plush (0.3.0 and 0.3.1).
The shim package is freecli.plush, with commands plush and osh.
A bare plush starts the line editor.
-help prints help and does not start the shell.
-h and --help do the same. --help is the compatibility trigger; other repeated dashes are rejected.
-help/interact opens the help viewer. Docs teach that long form.
Ctrl+C clears the line. Ctrl+D on an empty line, or exit, leaves.
The line above the prompt is a globe and the active input language code.
When the console cannot draw the globe (conhost, or a terminal that is not UTF-8), the code is shown in brackets.
Click that line where the terminal sends mouse reports. The text you were typing is restored afterward.
Where the mouse is not available, type lang.
See docs/LANG.adoc.
-
langlists regions. -
lang africalists that region. -
lang es-MX,lang es_mx, andlang esmxswitch. -
lang enlists regional variants instead of guessing. -
Help:
lang -helpandlang -help/interact.help/interact langopens the same viewer. -
The choice is stored in the user config directory, not in this repo. A config left by
open-shellis copied to theplushfolder once on first start.
-
assets/plush.svg is the tiled mark (Plus Shell).
-
assets/plush.ico is embedded in the Windows executable.
-
PNG sizes are under assets/png/.
-
Isolated drawings are under assets/icons/.
-
A Windows Terminal fragment is packaging/windows-terminal/plush.json. Its
iconisplush.icobeside the JSON.assets/plush.icois the source of truth;tools/sync-fragment-icon.ps1copies it into that folder. Install both files withtools/install-windows-terminal-fragment.ps1into%LOCALAPPDATA%/Microsoft/Windows Terminal/Fragments/FreeCLI/(v0.3.1 fixes a bug that could exit before that copy). The script also removes an oldFragments/OpenShellOrg/copy left by releases through v0.2.1.
See docs/MODES.adoc.
Default cell font: Consolas (system face; override allowed). See docs/TYPOGRAPHY.adoc.
MIT. See LICENSE.