From b7e09344bd9081c6ca19e5dcdc4873c4f1b684da Mon Sep 17 00:00:00 2001 From: Yigit Colakoglu Date: Sat, 3 Apr 2021 11:10:02 +0300 Subject: [PATCH] Edited Install script --- arch-setup/chroot.sh | 11 ++++++++++- config/vim/plugin/languagetool.vim | 1 + 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 config/vim/plugin/languagetool.vim diff --git a/arch-setup/chroot.sh b/arch-setup/chroot.sh index 78391199..a09637ba 100755 --- a/arch-setup/chroot.sh +++ b/arch-setup/chroot.sh @@ -47,8 +47,17 @@ if [ ! -f "/tmp/.blackarch" ]; then curl https://blackarch.org/strap.sh > /tmp/strap.sh chmod +x /tmp/strap.sh /tmp/strap.sh + echo -e "[multilib]\nInclude = /etc/pacman.d/mirrorlist\n\n[options]\nILoveCandy\nTotalDownload\nColor" + pacman -Syy touch /tmp/.blackarch - clear + + echo -n "Did any errors occur?(y/N): " + read errors + + while [ "$errors" = "y" ]; do + echo "Dropping you into a shell so that you can fix them, once you quit the shell, the installation will continue from where you left off." + bash + done fi clear diff --git a/config/vim/plugin/languagetool.vim b/config/vim/plugin/languagetool.vim new file mode 100644 index 00000000..4ba64592 --- /dev/null +++ b/config/vim/plugin/languagetool.vim @@ -0,0 +1 @@ +let g:languagetool_cmd='/usr/bin/languagetool'