• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# SPDX-License-Identifier: Apache-2.0
3#
4# Copyright (C) 2015, ARM Limited and contributors.
5#
6# Licensed under the Apache License, Version 2.0 (the "License"); you may
7# not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17#
18
19# LISA Shell: colors
20#
21# Define a set of useful console color escapes
22# Other colors could be obtained using this syntax:
23#          \033[COLOR1;COLOR2m
24# where COLOR1 and COLOR2 are Fore/Background:
25# Color   Fg Bg
26# black   30 40
27# red     31 41
28# green   32 42
29# yellow  33 43
30# blue    34 44
31# magenta 35 45
32# cyan    36 46
33# white   37 47
34
35LISASHELL_WHITE="\033[1;37m"
36LISASHELL_LGRAY="\033[37m"
37LISASHELL_GRAY="\033[1;30m"
38LISASHELL_BLACK="\033[30m"
39LISASHELL_RED="\033[31m"
40LISASHELL_LRED="\033[1;31m"
41LISASHELL_GREEN="\033[32m"
42LISASHELL_LGREEN="\033[1;32m"
43LISASHELL_BROWN="\033[33m"
44LISASHELL_YELLOW="\033[1;33m"
45LISASHELL_BLUE="\033[34m"
46LISASHELL_LBLUE="\033[1;34m"
47LISASHELL_PURPLE="\033[35m"
48LISASHELL_PINK="\033[1;35m"
49LISASHELL_CYAN="\033[36m"
50LISASHELL_LCYAN="\033[1;36m"
51
52LISASHELL_RESET="\033[0m"
53LISASHELL_DEFAULT=$LISASHELL_WHITE
54
55# vim: set tabstop=4:
56