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