From 2c6bfc2975543c95d2499e074567d1cb5d4923f4 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 6 Dec 2021 18:55:29 +0100 Subject: [PATCH] Fix typo --- Scripts/repeat-last-reply.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/repeat-last-reply.ps1 b/Scripts/repeat-last-reply.ps1 index dc88c069..7c37e1ce 100644 --- a/Scripts/repeat-last-reply.ps1 +++ b/Scripts/repeat-last-reply.ps1 @@ -11,8 +11,8 @@ https://github.com/fleschutz/PowerShell #> -if (test-path "$HOME/.last_reply.txt" -pathType leaft) { - $Reply = "OK, I said: " +if (test-path "$HOME/.last_reply.txt" -pathType leaf) { + $Reply = "It was: " $Reply += Get-Content "$HOME/.last_reply.txt" } else { $Reply = "Sorry, I can't remember."