From baec73a65791761801723d4c4b17ffd0279fea4e Mon Sep 17 00:00:00 2001 From: ffuentes Date: Thu, 4 Mar 2021 00:10:12 -0300 Subject: OpenBSD compatible --- ytfzf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ytfzf b/ytfzf index 1efc024..7d9876a 100755 --- a/ytfzf +++ b/ytfzf @@ -30,7 +30,10 @@ thumb_dir="$YTFZF_CACHE"/thumb #> make folders that don't exist [ -d $YTFZF_CACHE ] || mkdir -p $YTFZF_CACHE [ -d $thumb_dir ] || mkdir -p $thumb_dir - +## For MacOS users +if [ "$(uname)" = "OpenBSD" ]; then + alias sed='\gsed' +fi #> Setting and reading the config file config_dir="$HOME/.config/ytfzf" config_file="$config_dir/conf.sh" -- cgit v1.2.3