aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorffuentes <ffuentes@texto-plano.xyz>2021-03-04 00:10:12 -0300
committerffuentes <ffuentes@texto-plano.xyz>2021-03-04 00:10:12 -0300
commitbaec73a65791761801723d4c4b17ffd0279fea4e (patch)
treed736e8cc09d134297292ae6c75578772de62880f
parentd57aeb1f43a6d95fe67550aae297138017554b51 (diff)
downloadytfzf-baec73a65791761801723d4c4b17ffd0279fea4e.tar.gz
OpenBSD compatibleHEADmaster
-rwxr-xr-xytfzf5
1 files changed, 4 insertions, 1 deletions
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"
Un proyecto texto-plano.xyz