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

Any way to hide the cd command when launching this for Hyperterm? #5

Open
colejd opened this issue Aug 30, 2018 · 3 comments
Open

Any way to hide the cd command when launching this for Hyperterm? #5

colejd opened this issue Aug 30, 2018 · 3 comments

Comments

@colejd
Copy link

colejd commented Aug 30, 2018

The screenshot below shows what the terminal looks like when using cdto to open Hyper. Is there a way to hide that first command?

screen shot 2018-08-30 at 11 48 54 am

@ealeksandrov
Copy link
Owner

I don't use Hyper and iTerm looks good for me, no redundant commands in opened windows.
I will look into it, but can't promise any ETA. Will be happy to see PR to fix it :)

Maybe @dimitrieh (author of Hyper integration) can help us?

@colejd
Copy link
Author

colejd commented Aug 30, 2018

Thank you for the quick update. After some research, it seems that this is something that Hyper itself would need to change. The cd command is automatically invoked when you open Hyper with a path argument.

@colejd
Copy link
Author

colejd commented Aug 30, 2018

Actually, this isn't true. If you run open /Applications/Hyper.app --args ~/Downloads or some other arbitrary path, it will open at the given directory without the extra cd command at the top.

Edit:
Interesting. If you open Hyper with a path via the command line, it won't show the extra cd command. However, if you open a path with Hyper as in [NSWorkspace openFile:withApplication:], it will.

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

No branches or pull requests

2 participants