summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflyxyz123 <gky44px1999@gmail.com>2024-01-19 15:35:26 +0000
committerGitHub <noreply@github.com>2024-01-19 07:35:26 -0800
commit35e652da07f57c2a44db1002d1d5e6bf4e23d9a9 (patch)
tree220b43b7a3cd915e64d31934a5e36c1be8b34b51
parentc137489ca970e3d501f71bbc819667c0cd592915 (diff)
fix: `installed` function should be renamed to `have` (#53)HEADmain
-rwxr-xr-xtldr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tldr b/tldr
index 21d5daa..a54d1db 100755
--- a/tldr
+++ b/tldr
@@ -212,7 +212,7 @@ lang_cc() {
}
Get() {
- if installed curl; then
+ if have curl; then
curl -sfL "$1"
else
wget -O - "$1"