The windows terminal is new sleek, fast, customizable and feature packed terminal. It is much more productive than previous Command prompt
and PowerShell
.
So, if you want to customize the Windows terminal then you can go to this post. The steps have been beautifully curated there.
Beautify your Windows Terminal π¦
Anup Aglawe γ» May 31 '20 γ» 4 min read
So, let's get back to adding the Context Menu option
Perquisites
Windows Terminal icon
github.com/microsoft/terminal/raw/master/res/terminal.ico
β οΈ (I couldn't find the icon file in the installed folder)
Copy the downloaded icon to this folder
C:\Users\%USERPROFILE%\AppData\Local\Microsoft\WindowsApps\
- Open Text editor copy and paste the following code into it and save as
.reg
file.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\wt]
@="Windows terminal here"
"Icon"="C:\\Users\\yourusername\\AppData\\Local\\Microsoft\\WindowsApps\\terminal.ico"
[HKEY_CLASSES_ROOT\Directory\Background\shell\wt\command]
@="\"C:\\Users\\yourusername\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe\" -d \"%V\""
- Don't forget to replace
yourusername
with yourusername
like below.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\wt]
@="Windows terminal here"
"Icon"="C:\\Users\\mishr\\AppData\\Local\\Microsoft\\WindowsApps\\terminal.ico"
[HKEY_CLASSES_ROOT\Directory\Background\shell\wt\command]
@="\"C:\\Users\\mishr\\AppData\\Local\\Microsoft\\WindowsApps\\wt.exe\" -d \"%V\""
and save as whatevernameyouwant.reg.
- Run the what_name_you_want.reg file
π€π
Windows Terminal β€
Latest comments (2)
This does the trick. Thanks a lot.
Link for icon seems updated, here's updated one: github.com/microsoft/terminal/blob...
Yeah Thanks for the link. BTW the version of terminal automatically adds 'open in terminal' to the context menu.
I will suggest you to delete the previous created Registry.π