dotfiles/roles/zsh/files/config/functions/run

9 lines
190 B
Plaintext
Raw Normal View History

# Execute a "run" file either within ".notes" or the current directory.
function run {
if [[ -f .notes/run ]]; then
.notes/run "${@}"
elif [[ -f run ]]; then
./run "${@}"
fi
}