Closed N0xFF closed 2 years ago
Should completely fix https://github.com/hharnisc/hypercwd/issues/32
Oh, I found another problem.
I can't open new tab when rails server
is running because action.data
is:
"Read fragment views/application/_footer:82b6729ab2e01c94a01e63c6949ca9d9/ru/footer (0.2ms)[0K[?25l
[0;36;96mCACHE Category Load (0.0ms)[0m [0;34;94mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 ORDER BY "categories"."position" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]][0K
↳ app/routes/friendly_items_route.rb:46[0K
[0;36;96mCACHE Category Load (0.0ms)[0m [0;34;94mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 ORDER BY "categories"."position" ASC LIMIT $2[0m [["id", 2], ["LIMIT", 1]][0K
↳ app/routes/friendly_items_route.rb:46[0K
[0K[?25h"
And default or my regexp parse it in cwd: 'r:82b6729ab2e01c94a01e63c6949ca9d9/ru/footer (0.2ms)'
Any update on when this will be merged?
shell: 'C:\\Windows\\System32\\bash.exe'
in settingsWhen I open a new tab I got the exception:
In bash
action.data
return:After parsing this data the
cwd
variable value isC: /mnt/c
. So Hyper can't start a new session with wrongcwd
.If we want open bash.exe with our folder we need use cmd arguments
bash.exe -c "cd /mnt/"
or change current folder before opening bash.exe (and he open bash in current folder). I don't know can we send additional arguments to Hyper or not, but we can change current folder in right way.I extend regexp and add transform from Linux path in Windows. So above data now will return correct folder path
C:/Users/n0xff
.Was tested in default cmd.exe and bash.exe shell.