mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-03-03 09:00:15 +00:00
fix(scripts): address PR review feedback for shellspec installer
Add companion install-shellspec.md documentation file to match codebase convention. Add --depth=1 to git pull for consistent shallow clone behavior.
This commit is contained in:
@@ -12,7 +12,7 @@ install_shellspec()
|
||||
{
|
||||
if [[ -d "$SHELLSPEC_CACHE" ]]; then
|
||||
msgr ok "shellspec repo already cloned, pulling latest..."
|
||||
git -C "$SHELLSPEC_CACHE" pull --quiet
|
||||
git -C "$SHELLSPEC_CACHE" pull --quiet --depth=1
|
||||
else
|
||||
git clone --depth 1 "$SHELLSPEC_REPO" "$SHELLSPEC_CACHE"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user