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

[Suggestion]: Add "Open WezTerm here" context menu entry for WezTerm #14218

Open
Gaweringo opened this issue Oct 14, 2024 · 0 comments
Open

[Suggestion]: Add "Open WezTerm here" context menu entry for WezTerm #14218

Gaweringo opened this issue Oct 14, 2024 · 0 comments

Comments

@Gaweringo
Copy link
Contributor

The normal installation of WezTerm installs a "Open WezTerm here" element to the context menu of the explorer:
https:/wez/wezterm/blob/ed430415ee69279ea692358525196ad7d4c965b8/ci/windows-installer.iss#L65-L73

Open WezTerm here menu item in the explorer context menu

I think it would make sense to add a install-context.reg file for WezTerm like there is for the Window Terminal for example.

Example for the install-context.reg file that could be used (based on the Windows Terminal file)
The weztermPath would need to point to the wezterm-gui.exe

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\WezTerm]
@="Open &WezTerm here"
"Icon"="$weztermPath"
[HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\WezTerm\command]
@="\"$weztermPath\" start --cwd \"%V\""

[HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\shell\WezTerm]
@="Open &WezTerm here"
"Icon"="$weztermPath"
[HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\shell\WezTerm\command]
@="\"$weztermPath\"  start --cwd \"%1\""

I could create a PR if this is wanted.

@Gaweringo Gaweringo changed the title [Request]: Add "Open WezTerm here" context menu entry for WezTerm [Suggestion]: Add "Open WezTerm here" context menu entry for WezTerm Oct 14, 2024
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

1 participant