Is Vanilla.
In the Windows version of Hyper, the pwd command does not work. When I attempt to use it, the result is 'pwd' is not recognized as an internal or external command, operable program or batch file.. What is should do is print the working directory.
The Windows equivalent, using cd without arguments, works as per the Windows specification. However, since this is not a Windows-specific tool, what works on other OSes in Hyper should work here, so pwd should be supported.
This was using Hyper, not cmd; and I know that on Windows, instead of pwd, one uses cd without parameters. I know there are ways to get Bash usable on Windows.
I wrote this issue because Hyper seems to at least try to be platform-agnostic, and this is a case of differences between platforms.
Within Hyper, we use pwd on non-Windows platforms, and cd on Windows platforms. The latter is because of Windows having a different convention.
However, Hyper is not a Windows-specific program. If Hyper provides a feature in one manner on all of the other platforms, it should at least be available in Hyper in the same way on Windows; even if it's also available in a different way on Windows.
Basically, here's what we can use right now for printing the working directory in Hyper:
| Command | Windows | Non-Windows |
|--------- |--------- |------------- |
| pwd | error | directory |
| cd without parameters | directory | error |
What I am saying is that ideally, it would be this instead when using Hyper:
| Command | Windows | Non-Windows |
|--------- |--------- |------------- |
| pwd | directory | directory |
| cd without parameters | directory | error |
You measunderstood what hyper is: a Terminal emulator. That is, a gui program that let you run text based programs in a Windows.
The commands you are talking about are exactly that: text based programs that run inside hyper.
Hyper doesn't implement any of them, and it shouldn't.
TL;DR: Hyper does not implement pwd, cd, etc. across platforms.
Hmm this is really unfortunate, I'm on Windows, I've never used cmd.exe (for obvious reasons), and I've never used cd to print my current working directory. Never knew about cd as Window's version of pwd until seeing this page.
So you're telling me in order to use hyper (I just started), I need to learn cmd.exe-specific commands that aren't applicable elsewhere, not even in the terminal of Visual Studio Code or Powershell.exe?
Most helpful comment
This was using Hyper, not cmd; and I know that on Windows, instead of
pwd, one usescdwithout parameters. I know there are ways to get Bash usable on Windows.I wrote this issue because Hyper seems to at least try to be platform-agnostic, and this is a case of differences between platforms.
Within Hyper, we use
pwdon non-Windows platforms, andcdon Windows platforms. The latter is because of Windows having a different convention.However, Hyper is not a Windows-specific program. If Hyper provides a feature in one manner on all of the other platforms, it should at least be available in Hyper in the same way on Windows; even if it's also available in a different way on Windows.
Basically, here's what we can use right now for printing the working directory in Hyper:
| Command | Windows | Non-Windows |
|--------- |--------- |------------- |
| pwd | error | directory |
| cd without parameters | directory | error |
What I am saying is that ideally, it would be this instead when using Hyper:
| Command | Windows | Non-Windows |
|--------- |--------- |------------- |
| pwd | directory | directory |
| cd without parameters | directory | error |