From 8db61e65fa219f6a08a3a8f4ad21e7245d990d89 Mon Sep 17 00:00:00 2001 From: Sebastian LaVine Date: Wed, 2 Aug 2023 00:04:29 -0400 Subject: [PATCH] src/hd: Remove non-POSIX function keyword --- src/hd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hd b/src/hd index e983e98..3d1248e 100755 --- a/src/hd +++ b/src/hd @@ -8,12 +8,12 @@ # File: hd # Description: Fuzzy find autocomplete for haredoc. -function split_harepath() +split_harepath() { hare version -v | awk '/^HAREPATH/ { sub(/:/, "\n", $2); print $2 }' } -function build_cache() +build_cache() { echo 'hd: Building cache. This may take a few seconds.' >&2 -- 2.45.2