This commit is contained in:
Markus Fleschutz 2021-12-06 18:55:29 +01:00
parent bdde4f31df
commit 2c6bfc2975

View File

@ -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."