kutlime / powershell-open-here-module Goto Github PK
View Code? Open in Web Editor NEWPowerShell module that provides an extended "Open here" functionality for various terminals.
License: GNU General Public License v2.0
PowerShell module that provides an extended "Open here" functionality for various terminals.
License: GNU General Public License v2.0
In this article for adding Bash to the context menu, author provides two registry keys with just a single 2-character difference effectively.
https://www.tenforums.com/tutorials/60125-open-bash-window-here-context-menu-add-windows-10-a.html
Should be easy to add a command-line parameter to give people the option to have these menus only available under shift-rightclick. This would be nice to avoid polluting default shells.
Registry keys are available here:
https://www.tenforums.com/tutorials/60125-open-bash-window-here-context-menu-add-windows-10-a.html
The goal of this enhancement is:
I noticed after add open here in Windows terminal, one powershell window will prompt first. It would be better if windows terminal can be launched directly.
I tried this expecting them to all show up under a single root. Instead, they all created their own duplicate root item called "Prompts". Can the desired behavior be supported?
Set-OpenHereShortcut -ShortcutType:Windowsterminal -RootName 'Prompts' -OpenHere 'Terminal' -OpenHereAsAdmin 'Terminal as Admin'
Set-OpenHereShortcut -ShortcutType:WindowsPowerShell -RootName 'Prompts' -OpenHere 'Powershell' -OpenHereAsAdmin 'Powershell as Admin'
Set-OpenHereShortcut -ShortcutType:CMD -RootName 'Prompts' -OpenHere 'CMD' -OpenHereAsAdmin 'CMD as Admin'
Try `Set-OpenHereShortcut -ShortcutType:WindowsTerminalPreview" but wrong.
The goal of this enhancement is:
Related issue: #11
The extra click to expand the menu to get to an admin-level context menu item seems to be unavoidable with the current options.
It seems that flexibility would be greatly enhanced by generalizing this solution to be able to specify that you are trying to create a top-level item rather than something in a expanding menu.
Hi,
is it possible to use this to open a specific profile (i.e. not the default profile) in Windows Terminal?
For example, my default profile is the WSL Bash, but I would like to open a powershell tab in Windows Terminal.
Thanks
The current approach of icon handling is to create a folder in LOCALDATA
, download the shell's icon from the GitHub repository or create the icon when download fails from a base64 string.
The new approach will use EXE icon by default, brings a new switch -UseCustomIcon
to the Set-OpenHereShortcut
. The current approach will be used when -UseCustomIcon
will be present in a SetOpenHereShortcut
call.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.