Hyper: Try to cd into non-existent directory with period/dot in name crashes Hyperterm

Created on 9 Aug 2016  路  7Comments  路  Source: vercel/hyper

To reproduce:

$ cd foo.bar

If the directory foo.bar does not exist, the app will crash.

help wanted Bug

Most helpful comment

@DaveFlynn @dj-hedgehog I tested the behavior and it result into BASH problem only.
I tested the call cd foo.bar and Hyperterm crashed. However on ZSH it does the expected behavior.

cd foo.bar
cd: no such file or directory: foo.bar

All 7 comments

Can't reproduce. Works as expected for me:

cd foo.bar                                                                                                                                                    
cd: no such file or directory: foo.bar

Does it matter where you execute the command?

Nope. Could be anywhere. Happens when I am SSH'd into a remote server, or local.

Here's a video of it crashing:

https://dl.dropboxusercontent.com/u/1437623/hyper.mov

Version 0.7.1 (0.7.1.36)

@DaveFlynn @dj-hedgehog I tested the behavior and it result into BASH problem only.
I tested the call cd foo.bar and Hyperterm crashed. However on ZSH it does the expected behavior.

cd foo.bar
cd: no such file or directory: foo.bar

It would be awesome if any of you would checkout the source code, npm i && npm run start, replicate the problem and tell us if the log shows anything useful.

'foo.bar' appears to be matching isUrlCommand and triggering
a SESSION_URL_SET. I think we should maybe consider moving this
functionality to a plugin? CC @rauchg

URL handling has been vastly improved on 1.0.1! Thanks for the reports 馃檹

Hey there, please try again with the new Hyper v2 release and open a new issue if the problem stills exists. Thank you!

Was this page helpful?
0 / 5 - 0 ratings