-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
start
command completion only work executable item
#416
Comments
OK. I understand it should complete to any file on the %PATH%. It requires an new completion function. Memo for myself
|
Implemented ! When the base string user input does not contains / or \ , the shell searches all filenames on the directories listed %PATH%. The change will be included in the next binary release. |
Basically it work is good. (PATHの設定如何で微妙なアイテムも出てしまいますが、それはまあユーザー責でしょうし) |
長くなるので、もう全部日本語で書いちゃいますが、CMD.EXE 互換の start の仕様的に「補完しすぎ」だったようです。
また、nyagos の start は Lua 関数で実装していたのですが、Lua で実装しているコマンドに対して、Goコードで補完していました(これは前からそうだった)。これはアンバランスなので、そのうち start コマンドもGo化するかもしれません。 |
nyagos/completion/completion.go
Line 86 in ae9f322
Currently naygos built-in
start
has "completion" that completing arguments only executable file.But windows cmd
start
supported below these:Nyagos
start
manually set and open file/dir OK, work fine.Suggestion:
Support both document and directory add to
start
completion.The text was updated successfully, but these errors were encountered: