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])"