Приглашение в зависимости от версии zsh
This commit is contained in:
parent
4ae82b99b7
commit
058459dc8f
16
prompt.zsh
16
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
|
||||
|
Loading…
Reference in New Issue
Block a user