dotfiles/bin/bin/,

14 lines
205 B
Bash
Executable File

#!/usr/bin/env zsh
source $ZDOTDIR/functions
dir=$(find-local-bin aet)
if [[ -f $dir/$1 ]]; then
exec $dir/$@
elif [[ -f $HOME/bin/$1 ]]; then
exec $HOME/bin/$@
else
echo "Nothing to execute"
fi