Skip to content

Commit 0f445a3

Browse files
authored
Merge pull request #164 from Icinga:feature/adds_exit_on_windows_terminal_integration
Feature: Adds exit to Windows Terminal integration to close shell on exit Adds exit after calling icinga on Windows Terminal integration to ensure the shell will close in case the Icinga shell is closed.
2 parents 0469908 + 5dd1167 commit 0f445a3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/31-Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
2424
* [#149](https://github.com/Icinga/icinga-powershell-framework/pull/149) Adds support to add Wmi permissions for a specific user and namespace with `Add-IcingaWmiPermissions`. In addition you can remove users from Wmi namespaces by using `Remove-IcingaWmiPermissions`
2525
* [#155](https://github.com/Icinga/icinga-powershell-framework/pull/155) Adds support to write all objects collected by `Get-IcingaWindowsInformation` into the Windows EventLog in case the debug output for the Icinga PowerShell Framework is enabled.
2626
* [#162](https://github.com/Icinga/icinga-powershell-framework/pull/162) Adds feature to test the length of plugin custom variables during config generation and throws error in case the total length is bigger than 64 digits, as imports into the Icinga Director by using baskets is not possible otherwise
27+
* [#164](https://github.com/Icinga/icinga-powershell-framework/pull/164) Adds `exit` after calling `icinga` on Windows Terminal integration to ensure the shell will close in case the Icinga shell is closed
2728

2829
### Bugfixes
2930

doc/icingaintegration/50-Windows-Terminal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ To install the Icinga Shell as native shell in your Windows Terminal dropdown, s
1616

1717
"guid": "{fcd7a805-a41b-49f9-afee-9d17a2b76d42}",
1818
"name": "Icinga",
19-
"commandline" : "powershell.exe -noe -c \"&{ icinga }\"",
19+
"commandline" : "powershell.exe -noe -c \"&{ icinga; exit }\"",
2020
"hidden": false,
2121
"icon" : "ms-appdata:///roaming/icingawhite.png",
2222

0 commit comments

Comments
 (0)