From f61be1226a576ee5a5618e96bc585c24e7af0e68 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 10 Mar 2025 09:17:00 +0100 Subject: [PATCH] Updated edit.ps1 --- scripts/edit.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/edit.ps1 b/scripts/edit.ps1 index 561b7fbd..8707f798 100755 --- a/scripts/edit.ps1 +++ b/scripts/edit.ps1 @@ -3,7 +3,7 @@ Opens a text editor .DESCRIPTION This PowerShell script opens the installed text editor with the given text file. - Supported are: Emacs, Helix, pico, nano, neovim, Notepad, vi, vim, and Wordpad. + Supported are: Emacs, Helix, pico, nano, neovim, Notepad, vi, vim, Visual Studio Code and Wordpad. .PARAMETER path Specifies the path to the text file (default is to query the user to specify it) .EXAMPLE @@ -35,6 +35,7 @@ TryEditor "nano" $path TryEditor "pico" $path TryEditor "hx" $path TryEditor "emacs" $path +TryEditor "Code.exe" $path TryEditor "notepad.exe" $path TryEditor "wordpad.exe" $path Write-Host ""