Определение версии

This commit is contained in:
Andrei Astafev 2020-05-19 19:17:18 +03:00
parent f949c5c453
commit 05a0baf925

View File

@ -27,14 +27,8 @@ if [[ "$TERM_PROGRAM" == "Hyper" ]]; then
SPACESHIP_GIT_BRANCH_SHOW=false SPACESHIP_GIT_BRANCH_SHOW=false
fi fi
case "x$(lsb_release -d -s)" in if $(is-at-least 5.2); then
"xAstra Linux SE 1.5 (Smolensk)" ) antibody bundle denysdovhan/spaceship-prompt
antibody bundle nojhan/liquidprompt else
;; antibody bundle nojhan/liquidprompt
"xDebian GNU/Linux 8.11 (jessie)" ) fi
antibody bundle nojhan/liquidprompt
;;
* )
antibody bundle denysdovhan/spaceship-prompt
;;
esac