Skip to content

Commit e469fe7

Browse files
Change ui
1 parent 3043aea commit e469fe7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pr-php.plugin.zsh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,13 @@ if (( $+commands[php] )); then
99
pr_php=''
1010

1111
if is-recursive-exist composer.json index.php; then
12-
pr_php=" %{${c[base3]}${c[bold]}%}(%{${c[reset]}%}"
12+
pr_php=' '
1313

1414
local -a lines=( ${(f)"$(command php --version)"} )
1515
local -a arr_mod=("${(@s/ /)lines[1]}")
1616
local phpver=$arr_mod[2]
1717

1818
pr_php+="%{${c[violet]}${c[bold]}%}${PR_PHP_SYMBOL}%{${c[reset]}%} %{${c[violet]}${c[bold]}%}$phpver%{${c[reset]}%}"
19-
20-
pr_php+="%{${c[base3]}${c[bold]}%})%{${c[reset]}%}"
21-
2219
fi
2320
}
2421

0 commit comments

Comments
 (0)