From 48c515dc2b4a0ac2565766616652cf2c189e36a1 Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 18 Mar 2020 13:07:08 +0100 Subject: [PATCH] Emacs: Instruct straight to get shallow clones to save space. --- init.d/basics/package-management.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init.d/basics/package-management.el b/init.d/basics/package-management.el index 73bd9e6..9b88ce5 100644 --- a/init.d/basics/package-management.el +++ b/init.d/basics/package-management.el @@ -1,6 +1,6 @@ ;;; package-management.el --- Initialize package management -*- lexical-binding: t; -*- -;; Time-stamp: <2020-03-16T01:12:54+0100> +;; Time-stamp: <2020-03-18T13:06:33+0100> ;;; Commentary: ;; * Set up straight @@ -19,6 +19,8 @@ "Makes use-package invoke straight.el to install the package.") (customize-set-variable 'straight-cache-autoloads t "Cache the autoloads of all packages in a single file.") +(customize-set-variable 'straight-vc-git-default-clone-depth 1 + "Get shallow clones to save space.") ;; Bootstrap straight. (defvar bootstrap-version)