I believe this > alias prune='$HOME/prune/scripts/prune.zsh' Should instead be this > alias prune='$HOME/prune/**script**/prune.zsh'