From 05a0baf925656f17c1841b4f7dcafe8e25a5afa5 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Tue, 19 May 2020 19:17:18 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=BF=D1=80=D0=B5=D0=B4=D0=B5=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D0=B8?= 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