Skip to content

Commit

Permalink
Merge pull request #455 from manala/lazy/cleanup-messages
Browse files Browse the repository at this point in the history
[Lazy] Cleanup messages
  • Loading branch information
nervo authored Oct 14, 2024
2 parents 3dbe8dc + a61918f commit 228e688
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lazy.ansible/.manala/etc/profile.d/message.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ printf " \033[36m· {{ $dependency }}\033[0m\n"
{{- if $terraform.version }}
printf " \033[36m‣ terraform \033[35m{{ $terraform.version }}\033[0m\n"
{{- end }}
printf "\n"

{{- $help := .Vars.project.help }}
{{- if $help }}
printf "\n"
cat << EOF
{{ $help }}
EOF
Expand Down
2 changes: 1 addition & 1 deletion lazy.kubernetes/.manala/etc/profile.d/message.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ printf " \033[36m‣ age \033[35m{{ $age.version }}\033[0m\n"
{{- if $argocd.version }}
printf " \033[36m‣ argocd \033[35m{{ $argocd.version }}\033[0m\n"
{{- end }}
printf "\n"

{{- $help := .Vars.project.help }}
{{- if $help }}
printf "\n"
cat << EOF
{{ $help }}
EOF
Expand Down
3 changes: 1 addition & 2 deletions lazy.symfony/.manala/etc/profile.d/message.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ printf " \033[36m‣ php \033[35m{{ $php.version }}\033[0m\n"
{{- if $nodejs.version }}
printf " \033[36m‣ nodejs \033[35m{{ $nodejs.version }}\033[0m\n"
{{- end }}

printf "\n"

printf " \033[36m• php-xdebug \033[35m[on|off] \033[37m- enable/disable php xdebug\033[0m\n"
printf "\n"
php-xdebug () {
if [ "$1" = on ]; then
sudo phpenmod xdebug
Expand All @@ -41,7 +41,6 @@ php-xdebug () {

{{- $help := .Vars.project.help }}
{{- if $help }}
printf "\n"
cat << EOF
{{ $help }}
EOF
Expand Down

0 comments on commit 228e688

Please sign in to comment.