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

Fetch path from url when loading terminal #19116

Closed

Conversation

MahmoudHamdy02
Copy link
Contributor

@MahmoudHamdy02 MahmoudHamdy02 commented Jul 19, 2023

This change will be used in Navigator to implement an "Open in terminal" button
cockpit-project/cockpit-files#68

@martinpitt
Copy link
Member

The idea seems fine to me, but please add a test for this.

@@ -33,7 +33,7 @@ const _ = cockpit.gettext;
environ: [
"TERM=xterm-256color",
],
directory: user.home || "/",
directory: cockpit.location.options.path || user.home || "/",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This added line is not executed by any test. Details

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 this pull request may close these issues.

3 participants