mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-12 08:10:07 +00:00
Missed a parenthesis here.
This commit is contained in:
parent
ef1f29a5cb
commit
9739c68894
1 changed files with 1 additions and 1 deletions
|
@ -1118,7 +1118,7 @@ prompt_vpn_ip() {
|
||||||
################################################################
|
################################################################
|
||||||
# Segment to display laravel version
|
# Segment to display laravel version
|
||||||
prompt_laravel_version() {
|
prompt_laravel_version() {
|
||||||
local laravel_version="$(php artisan --version 2> /dev/null"
|
local laravel_version="$(php artisan --version 2> /dev/null)"
|
||||||
if [[ -n "${laravel_version}" && "${laravel_version}" =~ "Laravel Framework" ]]; then
|
if [[ -n "${laravel_version}" && "${laravel_version}" =~ "Laravel Framework" ]]; then
|
||||||
# Strip out everything but the version
|
# Strip out everything but the version
|
||||||
laravel_version="${laravel_version//Laravel Framework /}"
|
laravel_version="${laravel_version//Laravel Framework /}"
|
||||||
|
|
Loading…
Reference in a new issue