From f1d4a925736b229695fa76af3b3640d74c1a2819 Mon Sep 17 00:00:00 2001 From: Matt C Date: Wed, 20 Oct 2021 11:24:15 -0400 Subject: [PATCH] fixed vim editor choice for y'all losers who can't accept that other editors exist /s --- README.md | 2 +- continue.sh | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8921b82..46bdef2 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Request WM/DEs [here](https://github.com/crystal-linux/citrine/issues/1). | **KDE** | ✅ | | **LXDE** | ✅ | | **LXQt** | ✅ | -| **Mate** | ✅ | Seems to have fonts missing. See #10 | +| **Mate** | ✅ | Seems to have fonts missing. | | **UKUI** | ✅ | | **XFCE** | ✅ | diff --git a/continue.sh b/continue.sh index 97299fa..361337a 100755 --- a/continue.sh +++ b/continue.sh @@ -40,6 +40,11 @@ if [[ "$MORE" == "y" || "$MORE" == "Y" ]]; then PGRM="$response" echo "PGRM=$response" + if [[ "$PGRM" == *"vim"* ]]; then + inf "The only *vim* package we support is nvim. Sorry!" + PGRM="neovim" + fi + inf "Checking if we have ${PGRM} already.." which ${PGRM} @@ -47,6 +52,11 @@ if [[ "$MORE" == "y" || "$MORE" == "Y" ]]; then inf "Attempting to install ${PGRM}" pacman -Sy ${PGRM} --noconfirm fi + + if [[ "$PGRM" == "neovim" ]]; then + PGRM="nvim" + fi + inf "When we open the file, please remove the leading # before any locales you need." inf "Then, save and exit.\nPress enter." read