include
plugin for zs:
#!/bin/sh ...**
Apparently I can’t write shell scripts very well late at night 🤦♂️ Here’s the fixed `include` plugin for [zs](https://git.mills.io/prologic/zs):
#!/bin/sh
if [ ! $# = 1 ]; then
printf "Usage: %s
exit 0
fi
if [ -f "$1" ]; then
cat "$1"
else
echo "error: file not found $1"
fi
Sorry 😅 ⌘ [Read more](https://twtxt.net/twt/eqlvocq)