NYAGOS - The Nihongo Yet Another GOing Shell
( English / Japanese )
v4.4.18_0
Oct 25, 2025
- Embedded Lua scripts in the top level of
nyagos.d/into the executable- Makes it easy to set up on other environments — just copy nyagos.exe and your .nyagos.
- The scripts on
nyagos.d/are no longer loaded automatically. Use%APPDATA%/NYAOS_ORG/nyagos.dinstead - Scripts under
nyagos.d/catalogare handled as before. If you use them, make sure to copy them as well.
- Enable building Windows/arm64 binary (build only; runtime untested)
- Fixed an issue where candidates were not shown during environment variable name completion
- Update SKK library: go-readline-skk to v0.6.0:
- Enabled conversion and word registration for words containing slashes in the conversion result
- Added support for evaluating certain Emacs Lisp forms in conversion results, such as
(concat),(pwd),(substring), and(skk-current-date)(but not(lambda)yet)
- Updated go-readline-ny to v1.11.0
- Implemented the following changes in response to Issue #452: (Thanks @emisjerry )
- Added symbolic identifiers and string names for keys
Symbol Key Combination "C_PAGEDOWN"Ctrl+PageDown"C_PAGEUP"Ctrl+PageUp"C_HOME"Ctrl+Home"C_END"Ctrl+End - Added default key bindings
Key Combination Function Ctrl+HomeDelete from the beginning of the line to the cursor (same as Ctrl+U)Ctrl+EndDelete from the cursor to the end of the line (same as Ctrl+K)
- Added symbolic identifiers and string names for keys
- Implemented the following changes in response to Issue #452: (Thanks @emisjerry )
- Updated mattn/go-runewidth from v0.0.16 to v0.0.19
v4.4.17_2
Jul 27, 2025
- Fixed an issue where multiple Ctrl-C inputs during command execution could affect subsequent commands.
(#449: Thanks to [@fushihara])
v4.4.17_1
Jul 3, 2025
- Fix the issue where, when
%USERPROFILE%wasC:\Users\fooand the current directory wasC:\Users\fool,$Pin%PROMPT%was incorrectly replaced with~l. - Fixed a crash in environment variable name completion when multibyte characters (e.g., Japanese) appear before the variable name. The bug was caused by misinterpreting the byte offset of the
%sign (which marks the start of the variable) as a character index.
v4.4.17_0
May 7, 2025
- The kill buffer in NYAGOS previously interacted with the OS clipboard by default. This behavior has been changed so that it no longer does so by default. To enable clipboard integration, set nyagos.option.clipboard = true.
- Syntax highlighting:
- The highlighted environment variable is now limited to text that starts with a letter and contains only alphanumeric characters.
- The highlighted option can now contain
-anywhere, not just at the beginning.
- Added support for customizing the color of input prediction.
- e.g.,
nyagos.option.predict_color = "\027[0;31;1m"(red). - Restart nyagos after modifying
.nyagosto apply the change.
- e.g.,
- Removed support for the configuration file
_nyagos, which had been deprecated since v4.4.15. set -onow shows the current configuration in Lua syntax.- Included multiple icons in the executable, allowing users to choose one when creating a shortcut
- Fix a documentation mistake.
nyagos.option.cleanup_bufferwas still mentioned even though it had been removed.
v4.4.16_0
Oct.13, 2024
Removed features and Deprecations
- Remove
nyagos.d/catalog/neco.lua - Remove Lua function:
nyagos.msgbox - Remove the feature to define
grepas an alias offindstr.exewhengrep.exedoes not exist. It was the undocumented feature.
New features
Readline
- PowerShell 7-style input prediction
- When one or more characters are typed, the most recent entry in the history that starts with the typed characters is displayed inline (in blue italics).
- Pressing
→orCtrl-Faccepts the current prediction - Enabled by default. You can disable it with the launch option
--no-predictor by settingnyagos.option.prediction=false
- Ctrl-P/N: save the modified entry when switching history, and restore when switching again, until Enter is pressed
Lua extensions
- Implement
nyagos.getkeys()which returns the input key as a sequence like"\027[A"instead ofnyagos.getkey()which returns unicode. - Enhance functions available in
nyagos.key[KEY] = function(this)...end- key-sequences like
"\007"and"\027[A"are avaliable as KEY. - Implement
this:eval(KEYSEQUNCE)that calls the function assigned to KEYSEQUNCE. - Implement
this:repaint()that updates the screen this.posandthis.textare automatically updated when methods are invoked.
- key-sequences like
- Add the completion for
make: Enable byrequire "makefile-complete" - Add subcommand name completion for the jj command: Enable by requiring "complete-jj".
- Add citation feature for the gmnlisp command: Enable by
require "gmnlisp"- Replaces
@(Lisp command)with the result processed by gmnlisp. - If the command starts with
(, it is executed using gmnlisp.exe.
- Replaces
- Add UNIX-style single quotation feature: Enable by requiring "sq2dq".
- Replaces '..".."..' with "..".."..".
- Leaves "..'..'.." unchanged (single quotes within double quotes are not converted).
Documents
- Fix the broken links caused by renaming readme.md to README.md ( Thx @HAYASHI-Masayuki ) v4.4.15_1
May.02, 2024
The binaries of this version are built with Go 1.20.14
They support Windows 7, 8.1, 10, 11, WindowsServer 2008 or later, and Linux.
- (#442) Move back
aliasandset.luatonyagos.d/and enable to use the Lua codes likeset "ENV=VALUE"andalias "NAME=DEFINE". In 4.4.15_0, it was put onnyagos.d/catalog/andrequire "aliasandset"was neccessary to use (Thx @naoyaikeda) - Fix: the day of the week part of %DATE% was incorrect
(%DATE% was expected like2024/04/19 金, but2024/04/19 1919) - Fix the runtime error when
this:replacefrom(0,...)is called in the key-handling lua-function. Instead, it returns {nil,error-message}
-- On 4.4.15, typing C-I causes crash of nyagos.
nyagos.key["C-I"] = function(this)
assert(this:replacefrom(0,"XXXXX"))
end
v4.4.15_0
Apr 7, 2024
The binaries of this version are built with Go 1.20.14
They support Windows 7, 8.1, 10, 11, WindowsServer 2008 or later, and Linux.
Deprecations
- The configuration file
_nyagos, which is not a Lua syntax, is deprecated and no longer attached. When_nyagosis used, execute it, but print warning. - The Lua function:
useis now deprecated.- Use
require "mmmm"instead ofuse "mmmm.lua" - Add
nyagos.d/catalogtopackage.pathof the lua language standard.
- Use
- Remove
nyagos.d/catalog/ezoe.lua - Remove aliases:
chompf,wordpad,abspath - Remove lua functions:
addpath - Move
nyagos.d/aliasandset.luatonyagos/catalog/.that defines tool lua functions:set("ENV=VALUE"),alias("NAME=DEFINE")
New features
-
When
%NO_COLOR%is defined, disable the color of the prompt, the command-line, and ls command -
Sub commands completion (When
require "subcomplete"is enabled)- #436 Support completion for options of curl. ( Thanks to @tsuyoshicho )
Fixed bugs
- SKK
- Fix the problem that
UTtaandUTTawere converted打っtあand▽う*t*tinstead of打った - Fix: manually input inverted triangles were recognized as conversion markers
- Add the following the romaji-kana conversions:
z,→‥,z-→~,z.→…,z/→・,z[→『,z]→』,z1→○,z2→▽,z3→△,z4→□,z5→◇,z6→☆,z7→◎,z8→〔,z9→〕,z0→∞,z^→※,z\\→¥,z@→〃,z;→゛,z:→゜,z!→●,z"→▼,z#→▲,z$→■,z%→◆,z&→★,z'→♪,z(→【,z)→】,z=→≒,z~→≠,z|→〒,z`→“,z+→±,z*→×,z<→≦,z>→≧,z?→÷,z_→―,bya→びゃorビャ...byo→びょorビョpya→ぴゃorピャ...pyo→ぴょorピョtha→てぁorテァ...tho→てょorテョ
- Implement
qthat convert mutually between Hiragana and Katakana during conversion.
- Fix the problem that
- Sub commands completion (When
require "subcomplete"is enabled)- Fix: the subcommand completion for scoop did not work because the filename of executable was
scoop.exethat should bescoop.cmd.
- Fix: the subcommand completion for scoop did not work because the filename of executable was
- Fix the problem that prompt is not displayed on Linux
( The .nyagos sample should have defined nyagos.env.PROMPT, but nyagos.env.prompt was defined ) - Fix: the loop to input commands for
foreachcould not be stopped with Ctrl-C
( This problem was included in the commit 8bf0a2acb25b152d3d40c188de09858c2ef572ae of version 4.4.6_2. See also issue #383 and 4.4.6_0 )
Documents
- docs/07-LuaFunctions_*.md: wrote about
nyagos.shellexecute(forgotten!)
v4.4.14_0
Oct 06, 2023
The second half of 2023 edition.
The binaries of this version are built with Go 1.20.9.
They support Windows 7, 8.1, 10, 11, WindowsServer 2008 or later, and Linux.
New features
- nyagos.d/suffix.lua: Enabled automatic expansion of wildcards used in parameters of commands listed in
%NYAGOSEXPANDWILDCARD%(for example:nyagos.env.NYAGOSEXPANDWILDCARD="gorename;gofmt") - #432 Add new option:
glob_slashto enable with the option of executable--glob-slash, calling lua function likenyagos.option.glob_slash=true, or executing commandset -o glob_slash. When it is set,/is used on wildcard expansion. - Support Japanese input method editor: SKK (Simple Kana Kanji conversion program) - How To Setup
- Add the lua-function:
nyagos.atou_if_neededthat converts the string that is not valid utf8 one to utf8-string as the current codepage string.
Fixed bugs
- #433 To avoid garbled characters, backquote uses
nyagos.atou_if_neededto prevent UTF8 from being further converted to UTF8. - Fix: On linux version, backquotation failed with error and did not work. ( because the lua function
atoualways returned "not supported", it is changed to returning the same value with given ) - #432 When
set -o glob,*and?double-quoted were expanded as wildcards (They should not be) - Fix the problem that
more,nyagos.getkey, andnyagos.getviewwidthmight not work on Windows 7, 8.1 and Windows Server 2008 at v4.4.13_3. - #434 Fix:
nyagos.which('cp')does not work as expect on Linux (Thanks to @ousttrue) - Fix: the background color of U+3000 was not changed to red
Breaking changes
nyagos.default_promptandnyagos.promptreturn the prompt-string instead of output it to the terminal directly. This modifying is to use the new fieldPromptWriterof the go-readline-ny.Editor instead ofPromptthat is deprecated.
v4.4.13_3
Apr 30, 2023
- (#431) Fixed a bug that failed to convert lines exceeding 4096 bytes when changing from non-UTF8 to UTF8 such as environment variables changed by batch file execution or output of more/type. (Thx. @8exBCYJi5ATL)
- Fix:
moresometimes printed no lines when the size of the line was too large. ( Due to a different issue than #431 )
v4.4.13_2
Apr 25, 2023
The first half of 2023 edition.
- (#428) Fix:
rmdir /sfails to remove symbolic links and junctions (reparse point) - Do not toggle the quotation area color on " now
- (#429) Fix
cd c:fails when the current directory isC: - To convert between ANSI and UTF8 strings, use go-windows-mbcs v0.4 and golang.org/x/text/transform now
v4.4.13_1
Oct 15, 2022
- (#425) nyagos.d/suffix.lua appends the extensions into %NYAGOSPATHEXT% instead of %PATHEXT% and the command-name completion now looks both %PATHEXT% and %NYAGOSPATHEXT% (Thx. @tsuyoshicho)
- (#426) Fix: When command-line was filtered by nyagos.argsfilter, empty parameters were removed. (Thx. @juggler999)
- (#426) Fix: Wnen wildcard expansion for external commands is enabled, empty parameters were removed. (Thx. @juggler999)
- (#427) Fix: '""' was replaced to '(DIGIT)' with BEEP (Thx. @hogewest)
v4.4.13_0
Sep 24, 2022
- Fix: Unhandled exception in gopkg.in/yaml.v3 ( https://github.com/nyaosorg/nyagos/security/dependabot/1 )
- (#420) Add: support for building on macOS (Thanks to @zztkm)
- (#421) Fix: environemt variables which batchfiles remove were not erased.(Thanks to @tsuyoshicho)
- (#422) Fix: when %PROMPT% contained $h, the edit start position shifted to the right.(Thanks to @Matsuyanagi)
- Fix: when terminal's background-color was white, characters in the readline was invisible. (Use not white but terminal's default color for foreground color)
- Improved the problem that timeout does not work well in command name completion.
- Move sub-packages into internal folder
- Use Generics-type for the dictionary that key's cases are ignored.
- Fixed Makefile error on non-Windows
- (#424) fuzzy finder extension integration(catalog) (Thx @tsuyoshicho)
v4.4.12_0
Apr 29, 2022
- Modified colored commandline
- Change the color of the option-string dark-yellow and fix the range
- Change the background-color of the Ideographic Space (U+3000) red
- To enable transparency of terminal, use default-bgcolor(ESC[49m) instead of black(ESC[40m) (go-readline-ny v0.7.0)
- Fix coloring: -0 .. -9 were not colored for options.
- WezTerm: enable surrogate-pair
- Fix for Linux version only
- Fix:
set -o noclobber, redirect output was always zero bytes. - Fix: histories were not saved to the file.
- Fix:
- (#416) Complete for
startto any files and directories on %PATH% rmdir /scan remove readonly-folder like cmd.exe- Support
rmdir FOLDER /s(/soption can be put after folder list) - (#418) When the command-line ends with ^ , continue line-input after enter-key is input.
v4.4.11_0
Dec 10, 2021
- Color command-line
v4.4.10_3
Aug 30, 2021
- (#412) Fix: The widths of Box Drawing (U+2500-257F) were incorrect on the legacy terminals (on not Windows Terminal in Windows10)
- Attach the package some new icon files
v4.4.10_2
Jul 23, 2021
- Fix: the replacing result for %DATE% was not compatible with CMD.EXE's output on codepage 437
- go-readline-ny v0.4.13: Support Mathematical Bold Capital (U+1D400 - U+1D7FF) on the Windows Terminal
- Even if the option -o is given, remove ESC[0m from the output of redirected ls
- Fix: (#411) the document that English part and Japanese were written in inverse places (Thx! @tomato3713)
- Organize and automate the test-codes
v4.4.10_1
Jul 02, 2021
- Fix: When the folder
./dllexisted and the folderDLLexisted on CDPATH, typed path dll was replaced toDLLwith completion (The problem is that the path's cases were changed) - Fix: clone: the current directory was not kept when the current directory name has a space
v4.4.10_0
Jun 25, 2021
- nyagos.d/aliases.lua: abspath can be given wildcard names
- Raise a suitable error when
OLEOBJECT._release()is used instead ofOLEOBJECT:_release()on Lua script by updating the package glua-ole. echooutputs a double-quatation same as CMD.EXE does- Fix that
"..\"..\".."was changed to"..\"..".."as raw-string on parsing. - (#410) Stop to ignore SIGTERM to shutdown immediately when terminal's close button is pressed (Thx @nocd5)
- On WindowsTerminal (1.8~) ,
clonestarts a new shell in the same Window's other tab - Fix: clone command did not work on WindowsTerminal because wt.exe was not available via apppath
- Fix: su: the network drives were not connected
- Use Makefile(GNU Make) to build instead of PowerShell(make.cmd)
- Can build on Linux
v4.4.9_7
May 22, 2021
- (#409) Fix: the wildcards expansion with
set -o globornyagos.option.glob=truedid not work for command alias (Thx @juggler999)
v4.4.9_6
May 07, 2021
- (#406) Fix: nyagos.argsfilter did not work, raw arguments were not converted and suffix command did not work as expected. (Thx @tGqmJHoJKqgK)
v4.4.9_5
May 03, 2021
- go-readline-ny v0.4.10: Fix that Yes/No's answer:Y is inserted in the next commandline.
- go-readline-ny v0.4.11: Support Emoji Moifier Sequence (skin tone)
- Improve colored-ls's speed on Windows8.1 when CPU load is high.
- ( Do not use "io/ioutil" )
- Prevent from the message break the commandline when the process finishes which is started by
opencommand. - go-readline-ny v0.4.12: Disable emoji editing in the terminal of VisualStudioCode
- (#403) Support -S,-C and -K options like CMD.EXE
- (#403) Fix: some irregular double-quotations in the commandline were removed when the parameter is sent to the external commands.
- (#405) Add fuzzyfinder catalog module (Thx @tsuyoshicho)
v4.4.9_4
Mar 06, 2021
- (#400) add check the existance of commands for subcomplete.lua (Thx @tsuyoshicho )
- (#401) add subcompletion choco/chocolaty (Thx @tsuyoshicho )
- Fix: the layout on ls and Ctrl-O selection was broken in WindowsTerminal
- go-readline-ny v0.4.4: Fix: When ANYCHARACTER + Ctrl-B + ZeroWidthJoin Sequence are typed, view was broken
- go-readline-ny v0.4.5: Variation Selector Sequence can include ZeroWidthJoinerSequence
- go-readline-ny v0.4.6: Editing Combining Enclosing Keycap after Variation Selector (#️⃣)
- Fix: (#402) "echo !xxx" causes unexpected end of nyagos (Thx @masamitsu-murase)
- go-readline-ny v0.4.7: REGIONAL INDICATOR (U+1F1E6..U+1F1FF)
- go-readline-ny v0.4.8: WAVING WHITE FLAG and its variations (U+1F3F3 U+FE0F?)
- go-readline-ny v0.4.9: RAINBOW FLAG (U+1F3F3 U+200D U+1F308)
v4.4.9_3
Feb 20, 2021
- readline: on WindowsTerminal: Support Variation Selectors of Unicode
- (#397) Add scoop subcommand completion (
use "subcomplete.lua") (Thx @tomato3713) - Completion: make English case of completed word to the shortest candidate
- (#398) Fix: the default value for io.popen's second parameter did not work (Thx @ironsand)
- (#399) Improve utf8 offset (Thx @masamitsu-murase)
- Support ALT-/ key bind (Thx @masamitsu-murase) https://github.com/zetamatta/go-readline-ny/pull/1
- readline: Fix the problem that emoji and circled digits could not be input in WindowsTerminal 1.5
v4.4.9_2
Jan 8, 2021
- (#342) Stop killing child process on Ctrl-C pressed.
v4.4.9_1
Dec 21, 2020
- Fix: the first
make installwithout path parameter fails. - (#396) Fix: panic on Ctrl-W when left-scrool are required.
- Fix: sometimes more, clip & type from console did not echo input
- (#342) Improve Ctrl-C Interrupt handling to prevent from crash
v4.4.9_0
Dec 5, 2020
- (#390) Support zero-width-join sequence for WindowsTerminal
- Fix the cursor position broken on VARIATION SELECTOR-1..16
( VARIATION SELECTOR-1..16 are shown like <FE0F> ) - su and clone commands supports WindowsTerminal
- The background process start/end message is no longer displayed during editing.
- C-r: Incremental Search: compare case-insensitively
- Fix: Command-name completion did not work after && and ||.
- C-y: Trim the last CRLF on pasting
- Fix: (#393) the first key after terminal-window activated was input twice. (Thanks to @tostos5963)
- Stop using upx.exe because antivirus software sometimes disjudges as a virus.
v4.4.8_0
Oct 3, 2020
- git.lua: completion for
git add:- unquoto filenames like "\343\201\202\343\201\257\343\201\257"
- support files under untracked directories.
- diskused: shows size like
ls -h - Fix: diskused can not be stoped by Ctrl-C
- Implement: environment variable substring like %ENV:~10,5%
- (#308) Fix: error:
The operation was canceled by the userwhen the executable is placed on the network folder which is not written by true-UNC-Path - Fix:
clonecommand showed security error dialog when nyagos exists on network. - (#389) su: keep drive mounting by SUBST
- (#390) Fixed: Some unicode character from U+2000 to U+2FFF could not be input
- (#390) Fixed: Characters represented by Surrogate pair could not be input
- box.lua: Fix: C-o and ESCAPE erased the user-input-word.
- (#391) subcommand.lua: add gh first level subcommand rule (Thanks to @tsuyoshicho)
v4.4.7_0
Jul 18, 2020
- cd,push and their completion supports %CDPATH% like bash
- load scripts on
%APPDATA%\NYAOS_ORG\nyagos.d - On WindowsTerminal, print surrogate-paired unicode by not escaped like <nnnnn>
- Change the directory put binary from Cmd to bin
- catalog/subcomplete.lua
- Use new completion api:
nyagos.complete_for - Caching subcommands to complete to speed-up nyagos starting.
- Implement
clear_subcomands_cacheto clear cache. - Subcompletion for
fsutilandgo
- Use new completion api:
- catalog/git.lua
- load
subcomplete.luaautomatically - Complete commit-hash like branch-name
- Complete commit-hash,branch-name and modified filenames after
git checkout
- load
- (#386) Fix the file size output of
ls -hto be displayed in units.(Thx! @Matsuyanagi) - Fix:
nyagos.exec{ ALIAS-COMMAND-USING $@ }causes panic - Add:
nyagos.complete_for_files(which returns table of completable files)`
v4.4.6_2
Jun 09, 2020
- Fix: Ctrl-C terminated nyagos.exe like Ctrl-D (which is made on fixing #383 at
4.4.6_0)
v4.4.6_1
May 31, 2020
- (#385) Fix: Can not move to any folder in the other drive whose last folder is removed.
- Fix: cd's history did not ignore filepath's case.(see
cd -h) - Fix: change drive(
x:) did not push the last directory to directory history - Fix: The last element of
nyagos.rawexec{...}was ignored.
v4.4.6_0
May 08, 2020
- Implement: %DATE% and %TIME%
- nyagos.envdel now returns removed directories.
- use github.com/zetamatta/go-windows-netresource instead of
dos/net*.go - (#379) Add: nyagos.preexechook & postexechook
- (#383) Fixed the bug to go into an infinite loop when the terminal crashes
- Tab-key after
startcompletes as a command name aswhich - Fix: when
cd x:\y\zfailed, the current directory is moved to x:\ (root)
v4.4.5_4
Mar 13, 2020
- box.lua: fixed C-xC-r, C-xC-h & C-xC-g did not work because github.com/BixData/gluabit32 disappeared.
- (#319) Add bit32.band , bor & bxor again.
- (#378) nyagos.d/catalog/subcomplete.lua: ignore command's case and suffixes by default.
- (#377) Fix: Escape sequence does not work after
git guiinstalled by scoop - make.cmd: do not compress executable on every building by upx.exe. Use it only on making packages.
v4.4.5_3
Mar 08, 2020
- UNC Path Cache is saved to
~/appdata/local/nyaos_org/computers.txtrather than~/appdata/local/nyaos.org/computers.txtbecause other features usenyaos_orgfolder. - Sub command completion(
complete_for) now matches command-name ignoring its suffix - Compressed the executable by upx.exe
- Lua function
bit32.*are not available because github.com/BixData/gluabit32 is 404. - Use Windows10's native ansi-escape-sequence through mattn/go-colorable
- Fix that
echo $(gawk "BEGIN{ print \"\x22\x22\" }")could not print double-quatations
v4.4.5_2
Oct 26, 2019
- (#375) Fix:
~randomstringcauses panic - (#374) Fix:
ls -lfor future timestamp's files do not print year.
v4.4.5_1
Oct 20, 2019
- Fix that built-in
boxcommand did not support selecting multi-items. - Do not move cursor at drawing [PID] when process starts or shutdowns
- Ctrl-O: do not append a quotation after last backslach (NG:
"Program Files\"-> OK:"Program Files\) - nyagos.stat/access can understand ~ and %ENV% now.
v4.4.5_0
Sep 01, 2019
- Implement
nyagos.dirname()as a Lua function. - C-o supports selecting multi-files by Space,BackSpace,Shift-H/J/K/L,Ctrl-Left/Right/Down/Up
- Alt-Y(paste with quotes) puts quotes around CRLF
- C-o: append
\(on Windows) or/(on Linux) after choices when they are directories. - Implement
nyagos.envadd("ENVNAME","DIR"),nyagos.envdel("ENVNAME","PATTERN") nyagos.pathjoin()now expands%ENVNAME%and~\,~/
v4.4.4_3
Jul 07, 2019
- (#371) Could not execute
foo.bar.exeasfoo.bar - diskfree shows UNCPath assigned network drive
v4.4.4_2
Jun 14, 2019
- Speed up the completion for
\\host-nameby updating the cache on background.
v4.4.4_1
May 30, 2019
- Fix: executable for Linux could not be built.
v4.4.4_0 the Reiwa edition
May 27, 2019
- (#233) Completion for
\\host-name\share-name - (#238) copy: drawing progress
- Support
ENVVARNAME=VALUE COMMAND PARAMETERS.. - Fix the problem temporary filenames on executing batchfile conflict
- (#277) Support set /A
- (#291) Print Process-ID when it is started with
&mark like /bin/sh - (#361) Fix the problem GUI Application's STDOUT could not be redirected
- Implemented
.andsourcefor Linux (using /bin/sh) - readline: fixed cursor-blink-off did not work while user wait.
- Fix:
mklink /J mountPt target-relative-pathmade a broken junction.(Add change path absolute) - Add options:
--chdir "DIR"and--netuse "X:=\\host-name\share-name" - Stop using CMD.EXE on
suto set console-windows' icon nyagos' - Completion: ask completion when more than 100 possibilities exist.
- ps: print
[self]the line where nyagos.exe self exists. - (#272) replace
!(historyNo)@to the directory when the command was executed. - (#130) Support Here Document
- ALT-O expands the path of shortcut(for example: SHORTCUT.lnk) to target-path
- (#368) Fix: Lua function: io.close() did not exist.
- (#332)(#369) Implement r+/w+/a+ mode for io.open
v4.4.3_0
Apr 27, 2019
- (#116) readline: implement UNDO on Ctrl-Z,Ctrl-
_ - (#194) Update Console Window's ICON (LEFT-TOP-CORNER)
- Add alias for
dateandtimein CMD.EXE - Fix: the current-dir per each drive was mistaken after
cd RELATIVE-PATH
(cd C:\x\y\z ; cd .. ; cd \\localhost\c$ ; c: ; pwd->C:\x(notC:\x\y) )
v4.4.2_2
Apr 13, 2019
- Implement Ctrl-RIGHT,ALT-F(forward-word) and Ctrl-LEFT,ALT-B(backward-word)
- Fix: wrong the count of backspaces to move top on starting incremental-search
- (#364) Fix:
ESC[0Awas used.
v4.4.2_1
Apr 05, 2019
- diskfree: trim spaces from the end of line
- Fix: on
~"\Program Files", the first quotation disappeared andFileswas not contained in the argument.
v4.4.2_0
Apr 02, 2019
- Fix converting OLE-Object to Lua-Object causes panic on
VT_DATEand some types. - Fix: lua.LNumber was treated as integer. It should be as float64
- Lua: add function:
nyagos.to_ole_integer(n)fornyagos.d/trash.lua - Lua: support
for p in OLEObject:_iter() do ... end - Lua: add function:
OLEObject:_release() - Fix: trash.lua COM leak
- Fix: IUnknown instance created by
create_objectwas not released. - Implemented: expanding ~username
- Fix: exit status of executables (not batchfile) was not printed
- Fix: aliases using CMD.EXE (ren,mklink,dir...) did not work when %COMSPEC% is not defined.
- Fix: %U+3000% was regarded as a charactor of parameter separators
- (#359) -c and -k option can received multi arguments like CMD.EXE
- Fix: (not exist dir)\something [TAB] -> The system cannot find the path specified.(Thx! tsuyoshicho)
- (#360) Draw zero-width or surrogate paired characters as
<NNNNN>(Thx! tsuyoshicho) - Add the option --output-surrogate-pair to output them as it is (not
<NNNNN>) - su: network drives is not lost now after UNC-dialog
- (#197)
lnmakes Junction when the source-path is directory and -s is not given) - Implemented built-in
mklinkcommand and remove the aliasmklinkasCMD.exe /c mklink - Remove zero-bytes Lua files (cdlnk.lua, open.lua, su.lua, swapstdfunc.lua )
- (#262)
diskfreeshows volume label and filesystem - Enabled to execute batch file even if UNC path is current directory.
- Fix rename,assoc,dir & for did not run when the current directory is UNC-path
- Fix (#363) Fix backquote did not work in nyagos.alias.COMMAND="string" (Thx! tostos5963 & sambatriste )
- (#259) Implemented
selectcommand to open a file with dialog to select application. - Fix the format of
diskfree's output
v4.4.1_1
Feb 15, 2019
- Made
print(nyagos.complete_for["COMMAND"])work - Fix (#356)
typecould output the last line which does not contain LF. (Thx! @spiegel-im-spiegel)- zetamatta/go-texts v1.0.1 or laster is required
- Use
Go Modulesto build. - Support completion for
killallandtaskkill. kill&killall: Forbide killing self process- (#261) Set timeout(10sec) for completion and ls(1-folder)
- Fix: lua: ole object's setter(
__newindex) did not work. - (#357) Fix: on a french keyboard, AltGr + anykey did not work (Thx! @crile)
- (#358) Fix: When
foo.exeandfoo.cmdexist, typingfoocallsfoo.cmdrather thanfoo.exe
v4.4.1_0
Feb 02, 2019
- Support completion for
which,set,cd,pushd,rmdirandenvcommand. (Thx! ChiyosukeF) - Fix (#353) Stopping OpenSSH with Ctrl-C on password prompt, Escape sequences and etc. are disabled. (Restore console mode for stdout after executing command) (Thx! beepcap)
- (#350) Stop calling os.Readlink on
ls -Fwithout-l - Support
nyagos.complete_for["COMMANDNAME"] = function(args) ... end - Fix (#345) don't work git/svn/hg in subcomplete.lua (Thx! @tsuyoshicho)
- Fix io.popen(lua-function) did not work when redirect was used. (Thx! @tsuyoshicho)
- Fix (#354) box.lua: history completion did not start with C-X h (Thx! @fushihara)
- nyagos.d/catalog/subcomplete.lua supports completion for
hubcommand. (Thx! @tsuyoshicho)
v4.4.0_1
Jan 19, 2019
- Abolished "--go-colorable" and "--enable-virtual-terminal-processing"
- Implemented
killall - Implemented
copyandmovefor Linux - (#351) Fix that
END(andF11) key did not work
v4.4.0_0
Jan 12, 2019
- To call a batchfile, stop to use
/V:ONfor CMD.EXE
v4.4.0_beta
Jan 02, 2019
- Support Linux (experimental)
- Fix the problem that current directories per drive were not inherited to child processes.
- Use the library "mattn/go-tty" instead of "zetamatta/go-getch"
- Stop using msvcrt.dll via "syscall" directly
- On linux, the filename NUL equals /dev/null
- Add lua-variable nyagos.goos
- (#341) Fix an unexpected space is inserted after wide characters
- On Windows10, enable stdout virtual terminal processing always
- If
git.exe pushdisable virtual terminal processing, enable again.
- (#339) Fix that wildcard pattern
.??*matches..- It requires github.com/zetamatta/go-findfile tagged 20181223-2