Last active
February 12, 2024 13:44
-
-
Save pvdb/49626ece85ab06131a27891dd30b3655 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# INSTALLATION | |
# | |
# ln -s ${PWD}/pack-recurse $(brew --prefix)/bin/ | |
# sudo ln -s ${PWD}/pack-recurse /usr/local/bin/ | |
# | |
find "${HOME}/.vim/pack" -mindepth 2 -maxdepth 2 -type d \( -name start -or -name opt \) | while read -r pack_dir; do | |
# pack_path=$(dirname "${pack_dir}"); | |
>&2 printf "\033[7m$ (cd %s; %s;)\033[0m\n" "${pack_dir}" "$*"; | |
(cd "${pack_dir}" || exit; "$@";); | |
done | |
# That's all Folks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment