From b25739c78b926c904bfefc7b52a89706688fc198 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Mon, 8 May 2023 11:34:57 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D1=81=D1=82=D0=B0=D0=BD=D0=BE=D0=B2?= =?UTF-8?q?=D0=BA=D0=B0=20=D0=BF=D0=B0=D0=BA=D0=B5=D1=82=D0=B0=20=D1=81?= =?UTF-8?q?=D0=BE=20=D1=88=D1=80=D0=B8=D1=84=D1=82=D0=BE=D0=BC=20Iosevka?= =?UTF-8?q?=20Prog=20Nerd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 2b05370..5feaf24 100644 --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ set -e -sudo apt-get install git zsh curl +sudo apt-get install git zsh curl wget git clone https://git.246060.ru/config/zsh $HOME/.config/zsh cat < $HOME/.zshenv @@ -13,6 +13,8 @@ EOF sudo usermod -s $(which zsh) $(whoami) -mkdir -p ~/.local/share/fonts -curl -fSL -o "$HOME/.local/share/fonts/Anonymice Nerd Font Complete.ttf" https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/AnonymousPro/complete/Anonymice%20Nerd%20Font%20Complete.ttf -curl -fSL -o "$HOME/.local/share/fonts/Anonymice Nerd Font Complete Mono.ttf" https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/AnonymousPro/complete/Anonymice%20Nerd%20Font%20Complete%20Mono.ttf +TEMP="${XDG_RUNTIME_DIR:-/tmp}" +wget -P "$TEMP" -c -r -nd --no-parent -A "fonts-iosevka-prog-nerd_*_all.deb" https://deb.246060.ru/bin/fonts/pool/main/f/fonts-iosevka-prog-nerd/ +sudo dpkg -i "$TEMP"/fonts-iosevka-prog-nerd_*_all.deb +rm -f "$TEMP"/fonts-iosevka-prog-nerd_*_all.deb +