-
-
Notifications
You must be signed in to change notification settings - Fork 309
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
Improve documentation to point Windows users to how they can set up basic commands #1858
Comments
I bumped into this issue because I tried to do @xiaq Is there some weird inherent complexity with being able to support |
You can easily set custom key bindings, that's not the issue. Also, the readline-binding module does what you want. |
The command fn clear { edit:clear } If you want to also clear the scrollback, which fn clear { print "\e[H\e[2J\e[3J" } |
That is perfect. Thank you very much. Do you also know how to copy a file if |
I'm personally using https://github.com/uutils/coreutils for |
So just to clearify, you aliased the functions to I still leave this open, but I will change the title since I think the documentation might profit from some kind of "Windows Quick-start" that will help setting normal shell commands up. |
coreutils can be a single binary that you symlink to with the names of the utilities, so I have a |
What happened, and what did you expect to happen?
When trying to use the
clear
command, I am faced with the following exception:Exception: exec: "clear": executable file not found in %PATH%
Of course, since this is Windows, there is no real
clear
executable file (at least as far as I know). I have no idea how other shells are doing it, my idea was aliasingclear
tocmd /c cls
. But I don't know whether it is the right approach.Considering that this is part of standard shell usage and other shells (like Nushell) have a working
clear
command as well, I will file it as a bug, but it might as well be a feature request for a out-of-the-box solution on Windows.Output of "elvish -version"
0.21.0+official
Code of Conduct
The text was updated successfully, but these errors were encountered: