Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Odoo scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XCG
Odoo scripts
Commits
640b7312dc39
Commit
640b7312dc39
authored
8 years ago
by
Vincent Hatakeyama
Browse files
Options
Downloads
Patches
Plain Diff
[create documentation] use colors in all cases
parent
83f478378130
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
create_documentation
+1
-7
1 addition, 7 deletions
create_documentation
with
1 addition
and
7 deletions
create_documentation
+
1
−
7
View file @
640b7312
...
...
@@ -18,13 +18,7 @@
out_dir
=
${
project_home
}
/_build/
$format
# color stuff
autoload colors
echo
Number of colors:
$terminfo
[
colors]
echo
TERM:
$TERM
if
[[
"
$terminfo
[colors]"
-gt
7
]]
;
then
colors
fi
autoload colors
&&
colors
for
COLOR
in
RED GREEN YELLOW BLUE MAGENTA CYAN BLACK WHITE
;
do
eval
$COLOR
=
'$fg_no_bold[${(L)COLOR}]'
eval
BOLD_
$COLOR
=
'$fg_bold[${(L)COLOR}]'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment