@@ -54,20 +54,20 @@ $ make INSDIR=/path/to/blesh install
54
54
55
55
With ` wget ` :
56
56
``` console
57
- $ wget https://github.com/akinomyoga/ble.sh/releases/download/v0.3.0 /ble-0.3.0 .tar.xz
58
- $ tar xJf ble-0.3.0 .tar.xz
59
- $ source ble-0.3.0 /ble.sh
57
+ $ wget https://github.com/akinomyoga/ble.sh/releases/download/v0.3.1 /ble-0.3.1 .tar.xz
58
+ $ tar xJf ble-0.3.1 .tar.xz
59
+ $ source ble-0.3.1 /ble.sh
60
60
```
61
61
With ` curl ` :
62
62
``` console
63
- $ curl -LO https://github.com/akinomyoga/ble.sh/releases/download/v0.3.0 /ble-0.3.0 .tar.xz
64
- $ tar xJf ble-0.3.0 .tar.xz
65
- $ source ble-0.3.0 /ble.sh
63
+ $ curl -LO https://github.com/akinomyoga/ble.sh/releases/download/v0.3.1 /ble-0.3.1 .tar.xz
64
+ $ tar xJf ble-0.3.1 .tar.xz
65
+ $ source ble-0.3.1 /ble.sh
66
66
```
67
67
68
68
If you want to place ` ble.sh ` in a specific directory, just copy the directory:
69
69
``` console
70
- $ cp -r ble-0.3.0 /path/to/blesh
70
+ $ cp -r ble-0.3.1 /path/to/blesh
71
71
```
72
72
73
73
## Setup ` .bashrc `
@@ -192,37 +192,46 @@ bleopt edit_abell=
192
192
193
193
The colors and attributes used in the syntax highlighting are controlled by ` ble-color-setface ` function. The following code reproduces the default configuration:
194
194
``` bash
195
- ble-color-setface region bg=60,fg=white
196
- ble-color-setface region_target bg=153,fg=black
197
- ble-color-setface region_match bg=55,fg=white
198
- ble-color-setface region_insert fg=12,bg=252
199
- ble-color-setface disabled fg=242
200
- ble-color-setface overwrite_mode fg=black,bg=51
201
- ble-color-setface syntax_default none
202
- ble-color-setface syntax_command fg=brown
203
- ble-color-setface syntax_quoted fg=green
204
- ble-color-setface syntax_quotation fg=green,bold
205
- ble-color-setface syntax_expr fg=26
206
- ble-color-setface syntax_error bg=203,fg=231
207
- ble-color-setface syntax_varname fg=202
208
- ble-color-setface syntax_delimiter bold
209
- ble-color-setface syntax_param_expansion fg=purple
210
- ble-color-setface syntax_history_expansion bg=94,fg=231
211
- ble-color-setface syntax_function_name fg=92,bold
212
- ble-color-setface syntax_comment fg=242
213
- ble-color-setface syntax_glob fg=198,bold
214
- ble-color-setface syntax_brace fg=37,bold
215
- ble-color-setface syntax_tilde fg=navy,bold
216
- ble-color-setface syntax_document fg=94
217
- ble-color-setface syntax_document_begin fg=94,bold
218
- ble-color-setface command_builtin_dot fg=red,bold
219
- ble-color-setface command_builtin fg=red
220
- ble-color-setface command_alias fg=teal
221
- ble-color-setface command_function fg=92
222
- ble-color-setface command_file fg=green
223
- ble-color-setface command_keyword fg=blue
224
- ble-color-setface command_jobs fg=red
225
- ble-color-setface command_directory fg=26,underline
195
+ # highlighting related to editing
196
+ ble-color-setface region bg=60,fg=white
197
+ ble-color-setface region_target bg=153,fg=black
198
+ ble-color-setface region_match bg=55,fg=white
199
+ ble-color-setface region_insert fg=12,bg=252
200
+ ble-color-setface disabled fg=242
201
+ ble-color-setface overwrite_mode fg=black,bg=51
202
+ ble-color-setface auto_complete fg=238,bg=254
203
+ ble-color-setface menu_filter_fixed bold
204
+ ble-color-setface menu_filter_input fg=16,bg=229
205
+ ble-color-setface vbell reverse
206
+ ble-color-setface vbell_erase bg=252
207
+ ble-color-setface vbell_flash fg=green,reverse
208
+
209
+ # syntax highlighting
210
+ ble-color-setface syntax_default none
211
+ ble-color-setface syntax_command fg=brown
212
+ ble-color-setface syntax_quoted fg=green
213
+ ble-color-setface syntax_quotation fg=green,bold
214
+ ble-color-setface syntax_expr fg=26
215
+ ble-color-setface syntax_error bg=203,fg=231
216
+ ble-color-setface syntax_varname fg=202
217
+ ble-color-setface syntax_delimiter bold
218
+ ble-color-setface syntax_param_expansion fg=purple
219
+ ble-color-setface syntax_history_expansion bg=94,fg=231
220
+ ble-color-setface syntax_function_name fg=92,bold
221
+ ble-color-setface syntax_comment fg=242
222
+ ble-color-setface syntax_glob fg=198,bold
223
+ ble-color-setface syntax_brace fg=37,bold
224
+ ble-color-setface syntax_tilde fg=navy,bold
225
+ ble-color-setface syntax_document fg=94
226
+ ble-color-setface syntax_document_begin fg=94,bold
227
+ ble-color-setface command_builtin_dot fg=red,bold
228
+ ble-color-setface command_builtin fg=red
229
+ ble-color-setface command_alias fg=teal
230
+ ble-color-setface command_function fg=92
231
+ ble-color-setface command_file fg=green
232
+ ble-color-setface command_keyword fg=blue
233
+ ble-color-setface command_jobs fg=red
234
+ ble-color-setface command_directory fg=26,underline
226
235
ble-color-setface filename_directory underline,fg=26
227
236
ble-color-setface filename_directory_sticky underline,fg=white,bg=26
228
237
ble-color-setface filename_link underline,fg=teal
@@ -238,12 +247,15 @@ ble-color-setface filename_block underline,fg=yellow,bg=black
238
247
ble-color-setface filename_warning underline,fg=red
239
248
ble-color-setface filename_url underline,fg=blue
240
249
ble-color-setface filename_ls_colors underline
241
- ble-color-setface auto_complete fg=238,bg=254
242
- ble-color-setface menu_filter_fixed bold
243
- ble-color-setface menu_filter_input fg=16,bg=229
244
- ble-color-setface vbell reverse
245
- ble-color-setface vbell_erase bg=252
246
- ble-color-setface vbell_flash fg=green,reverse
250
+ ble-color-setface varname_array fg=orange,bold
251
+ ble-color-setface varname_empty fg=31
252
+ ble-color-setface varname_export fg=200,bold
253
+ ble-color-setface varname_expr fg=92,bold
254
+ ble-color-setface varname_hash fg=70,bold
255
+ ble-color-setface varname_number fg=64
256
+ ble-color-setface varname_readonly fg=200
257
+ ble-color-setface varname_transform fg=29,bold
258
+ ble-color-setface varname_unset fg=124
247
259
```
248
260
249
261
The current list of faces can be obtained by the following command (` ble-color-setface ` without arguments):
0 commit comments