From 5c74003480a7bb4963c798c91706ec723b179b49 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 9 Jun 2018 08:19:18 -0400 Subject: [PATCH] cloning now depth 1 --- src/larbs.sh | 4 ++-- src/larbs_user.sh | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/larbs.sh b/src/larbs.sh index 65316e2..fffa10d 100755 --- a/src/larbs.sh +++ b/src/larbs.sh @@ -69,7 +69,7 @@ rm -f /tmp/larbs_user.sh dialog --infobox "Installing \"st\" from source..." 4 40 cd /tmp rm -rf st -git clone https://github.com/lukesmithxyz/st.git +git clone --depth 1 https://github.com/lukesmithxyz/st.git cd st make make install @@ -78,7 +78,7 @@ cd /tmp dialog --infobox "Installing \"dmenu\" from source..." 4 40 cd /tmp rm -rf dmenu -git clone https://github.com/lukesmithxyz/dmenu.git +git clone --depth 1 https://github.com/lukesmithxyz/dmenu.git cd dmenu make make install diff --git a/src/larbs_user.sh b/src/larbs_user.sh index f7cf44f..f3a5721 100755 --- a/src/larbs_user.sh +++ b/src/larbs_user.sh @@ -31,7 +31,7 @@ do done echo Downloading config files... -git clone https://github.com/lukesmithxyz/voidrice.git >/dev/null && +git clone --depth 1 https://github.com/lukesmithxyz/voidrice.git >/dev/null && rsync -va voidrice/ /home/$(whoami) >/dev/null && rm -rf voidrice >/dev/null @@ -46,10 +46,10 @@ git clone https://github.com/lukesmithxyz/voidrice.git >/dev/null && #packer --noconfirm -S polybar || packer --noconfirm -S polybar-git echo Downloading email setup... -git clone https://github.com/lukesmithxyz/mutt-wizard.git /home/$(whoami)/.config/mutt >/dev/null +git clone --depth 1 https://github.com/lukesmithxyz/mutt-wizard.git /home/$(whoami)/.config/mutt >/dev/null dialog --infobox "Generating bash/ranger/qutebrowser shortcuts..." 4 60 -git clone https://github.com/LukeSmithxyz/shortcut-sync.git >/dev/null && +git clone --depth 1 https://github.com/LukeSmithxyz/shortcut-sync.git >/dev/null && rsync shortcut-sync/shortcuts.sh ~/.scripts/ >/dev/null && rsync shortcut-sync/folders ~/.scripts/ >/dev/null && rsync shortcut-sync/configs ~/.scripts/ >/dev/null &&