From 058459dc8f3801cef0e353c6bc4b68e238f194f9 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Mon, 16 Nov 2020 11:06:26 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B8=D0=B3=D0=BB=D0=B0=D1=88?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B2=20=D0=B7=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D1=81=D0=B8=D0=BC=D0=BE=D1=81=D1=82=D0=B8=20=D0=BE=D1=82=20?= =?UTF-8?q?=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D0=B8=20zsh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prompt.zsh | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/prompt.zsh b/prompt.zsh index f5b3a63..914e41b 100644 --- a/prompt.zsh +++ b/prompt.zsh @@ -27,14 +27,8 @@ if [[ "$TERM_PROGRAM" == "Hyper" ]]; then SPACESHIP_GIT_BRANCH_SHOW=false fi -case "x$(lsb_release -d -s)" in - "xAstra Linux SE 1.5 (Smolensk)" ) - antibody bundle nojhan/liquidprompt - ;; - "xDebian GNU/Linux 8.11 (jessie)" ) - antibody bundle nojhan/liquidprompt - ;; - * ) - antibody bundle denysdovhan/spaceship-prompt - ;; -esac +if $(is-at-least 5.2); then + antibody bundle denysdovhan/spaceship-prompt +else + antibody bundle nojhan/liquidprompt +fi