4.2.0_0
(English)
NYAGOS 4.2.0_0 (released 2017/05/29)
- Improved the restriction that the Lua-variables not in
share[]are not shared in all Lua-instances.(#210,#208)- Do not create a new lua instance except when background thread begins to run.
- Copy global variables all including ones not in
share[]from the Lua-instance in the forwaground thread to the new instance for the new background thread. - To print prompt, use the same Lua instance loading ~/.nyagos
New feature
nyagos.completion_hidden: If it is set true, hidden filenames are also completed.- Add built-in command
env - #189 Support
nyagos.history[..]and#nyagos.history - Make
typeas built-in command. - Make
clipas built-in command which read/write both UTF8/MBCS (#202) - Support
del /f: delete even if it is a readonly file. (#198) - Add command to make shortcut(
lnk FILENAME SHORTCUT WORKING-DIRECTORY) - Add
attribas built-in command. (#199) - Support
$( )format to quote command-output by backquote.lua ls -l: Show shortcut's target and working directory.- New lua-function:
nyagos.box()
Trivial fix
- Support
-b BASE64edCOMMANDSTRINGas startup option (#200) - Rewrote
cd/push SHORTCUT.lnkfrom Lua(nyagos.d/cdlnk.lua) to Golang-native nyagos.alias.grep = "findstr.exe"
Bugfix
- Fix
\in%USERPROFILE:\=/%were replaced once only - Fix:
llwas aliased to non-colored version on default_nyagos - Fix the problem that C-o could not complete filenames which has
and~. - Fix Ctrl-O (filename-completion) causes panic. (#204)
- Never cut double-quotations of parameters which users wrote for FIND.EXE and so on #218,#222
- Fix: Executing commands requiring elevation causes the error
The requested operation requires elevation. Now UAC elevation dialog is shown. #227 - Fix: executed
FOO.123.EXEeven whenFOOwas typed #229
(Japanese)
NYAGOS 4.2.0_0 (released 2017/05/29)
share[]直下の以外のLua変数が共有されない制限を改善した(#210,#208)- Luaの新インスタンス作成をバックグラウンドスレッド開始時に限った(さもなければインスタンス共有する)
- Luaの新インスタンス作成時に
share[]以外のグローバル変数もメインスレッドのインスタンスからフルコピーするようにした。 - ~/.nyagos をロードした Lua インスタンスでプロンプトを表示するようにした
新機能
nyagos.completion_hidden: true の時、隠しファイルも補完候補に入れる- 内蔵コマンド
envの追加 - ヒストリ参照テーブル
nyagos.history[..],#nyagos.history用意 - 内蔵コマンドとして
typeを追加 - UTF8 / MBCS 両方を読み込める内蔵コマンド
clipを実装 (#202) - READONLY属性のファイルも消す
del /fオプション追加 (#198) attribコマンドを内蔵コマンドとして実装 (#199)- ショートカット作成コマンド lnk を内蔵(
lnk FILENAME SHORTCUT WORKING-DIRECTORY) $( )形式のコマンド出力引用形式をサポートls -l: ショートカットのリンク先・作業ディレクトリを表示するようにした- Lua関数
nyagos.box()を追加
Trivial change
- 起動オプションに「-b (base64化されたコマンド文字列)」を追加した
- Lua(nyagos.d/cdlnk.lua)製の
cd/push ショートカット.lnkを Go で書き直した nyagos.alias.grep = "findstr.exe"
Bugfix
%USERPROFILE:\=/%で\が一度しか置換されていない不具合を修正- デフォルトの
_nyagosでllがカラーでないlsに別名定義されていた点を修正 - C-o が空白と ~ を含むファイル名を補完できなかった不具合を修正
- Ctrl-O のファイル名選択がパニックを起こす不具合を修正(#204)
- FINDコマンドなどのために、ユーザが明示した二重引用符は決して削除しないようにした(#218,#222)
- UAC昇格が必要なコマンドを呼ぶとエラーになる問題を修正し、UAC昇格ダイアログを出すようにした (#227)
FOO.123.EXEがFOOとタイプした時でも実行されてしまう不具合を修正 #229