From d4c5c034339a201c1caa5cb547b023991530c391 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 13 May 2024 15:36:49 +0200 Subject: [PATCH] Updated list-clipboard.ps1 --- scripts/list-clipboard.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/list-clipboard.ps1 b/scripts/list-clipboard.ps1 index ab70dbc6..9e11b916 100755 --- a/scripts/list-clipboard.ps1 +++ b/scripts/list-clipboard.ps1 @@ -13,7 +13,8 @@ #> try { - "📋 $(get-clipboard)" + [string]$text = (Get-Clipboard) + Write-Output "📋 `“ $text `„" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"