Turn bemoji link to a tiny wrapper
This commit is contained in:
parent
cd507205e7
commit
3d5323c9bc
16
bemoji
Executable file
16
bemoji
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Tiny wrapper to ensure to have 'bemoji' binary independently of the OS/path
|
||||
|
||||
if [ $(command -v bemoji) ]; then
|
||||
bemoji "${*}"
|
||||
elif [ $(command -v bemoji.sh) ]; then
|
||||
bemoji.sh "${*}"
|
||||
elif [ -f "${HOME}/repos/bemoji/bemoji" ]; then
|
||||
${HOME}/repos/bemoji/bemoji "${*}"
|
||||
else
|
||||
printf '%s' "No bemoji binary available"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user