mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-02 12:24:11 +02:00
Update what-is.ps1
This commit is contained in:
parent
0bcb9cadf6
commit
8ebbc74496
@ -28,7 +28,7 @@ try {
|
|||||||
"💡 $($row.TERM) in $basename refers to: $($row.MEANING)"
|
"💡 $($row.TERM) in $basename refers to: $($row.MEANING)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($basename -eq "") { "🤷 Sorry, no '$term' entry found. Use <Ctrl> <Click> to google it: https://www.google.com/search?q=abbreviation+$term" }
|
if ($basename -eq "") { "🤷 Sorry, no '$term' entry found. Use <Ctrl> <Click> to google it: https://www.google.com/search?q=what+is+$term" }
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
|
Loading…
Reference in New Issue
Block a user