Skip to content
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

Can't open vscode through terminal with hyper but regular can #6288

Closed
2 tasks done
LoyalPotato opened this issue Feb 5, 2022 · 8 comments · Fixed by #6268
Closed
2 tasks done

Can't open vscode through terminal with hyper but regular can #6288

LoyalPotato opened this issue Feb 5, 2022 · 8 comments · Fixed by #6268

Comments

@LoyalPotato
Copy link

  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: Manjaro 21.2.2
  • Hyper.app version: 3.2.0
  • Link of a Gist with the contents of your .hyper.js: Default with just some font changes
  • Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere):
  • The issue is reproducible in vanilla Hyper.app:

Issue

Hello,
I installed visual studio code through snap, by following these instructions.
In my normal terminal, the code command works fine and I can do code . to open the current directory.
In my $PATH I have the snap bin (/var/lib/snapd/snap/bin) which is where code is located.
When I run the code command in the hyper terminal it behaves as if I was running the snap command and printing the following error when I try to use the command like so code .:

error: unknown command ".", see 'snap help'.

Am I missing something? Shouldn't they perform the same?

@LoyalPotato LoyalPotato changed the title Can Can't open vscode through terminal with hyper but regular can Feb 5, 2022
@LabhanshAgrawal
Copy link
Collaborator

How did you install Hyper? Through AppImage?
Can you try a build from https://nightly.link/vercel/hyper/actions/runs/1794351456 and check

@LoyalPotato
Copy link
Author

@LabhanshAgrawal Yeah it was through an AppImage.
I downloaded the Hyper-3.3.0-canary.1.AppImage and this time it doesn't do anything when I run the command code .

I also have zsh installed, but in the regular terminal the command works like mentioned above.

@LabhanshAgrawal
Copy link
Collaborator

The build I'd linked doesn't have shell environment vars inherited from hyper
I'm guessing it didn't do anything as PATH would also be stub
try to run /var/lib/snapd/snap/bin/code . and check

@LabhanshAgrawal
Copy link
Collaborator

may also try https://nightly.link/vercel/hyper/actions/runs/1800193266

@LoyalPotato
Copy link
Author

Ok, running the command through the full pass, on the previous run (1794351456) and it still didn't work.
But 👀 the run you posted after that (1800193266) worked :D
What made it so that one works?

@LabhanshAgrawal
Copy link
Collaborator

#6268

@LabhanshAgrawal
Copy link
Collaborator

Ok, running the command through the full pass, on the previous run (1794351456) and it still didn't work.
But 👀 the run you posted after that (1800193266) worked :D
What made it so that one works?

Just to confirm, you used appimage for all the tests, right?

@LoyalPotato
Copy link
Author

LoyalPotato commented Feb 6, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants