-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathNEWS
1300 lines (903 loc) · 48.6 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1 News
******
This lists user-visible changes, and which releases they occurred
between. For more detailed information see the git log.
Each release lists incompatible changes at its top.
10.9 (20240811) "New Eridu"
===========================
• New Features
− Add ability to add manual options for ‘grep’.
− Remove utilization of ‘GREP_COLOR’ and use more versatible
‘GREP_COLORS’ envvar, with eight separate color settings.
− Add ability to choose sort order for files for ‘batchrename’.
• Misc. Changes
− Update user interface to remove deprecated Gtk+3 definitions.
− Fixed most ‘PEP8’ issues as reported by ‘pycodestyle’, except
E501 (line too long).
− Fix many warnings as reported by ‘shellcheck’.
− Update user interface to reflect new icon names.
• configure 4.5.1
− simplfy python module check.
− check for explicit ‘gi.repository.Gtk’ version ‘3.0’.
− make it possible to check for alternative name of an
application (eg. ‘bat’ is called ‘batcat’ on Debian).
10.8 (20220812) "Aionos"
========================
• Bug Fixes
− #277 ‘colors’: the color ‘brown’ could not be used properly.
− #278 ‘manpage colors’: fix definition of manpage colors for
terminals with support for more than 8 colors.
− #279 ‘manpage colors’: swap ‘black’ and ‘white’ on dark
terminals, before defining ‘stand out’ color.
− #280 ‘bashstyle_history_sync’: syncing from within embedded
terminals (like in ‘Geany’) works now.
• New Features
− Add new ‘spell-correct-word’ keybinding from Bash 5.2 to
keybindings setter.
− Add new keybinding ‘fetch-history’ from Readline 8.2 to
keybindings setter.
− Add new shopt ‘globskipdots’ from Bash 5.2 to settings.
− Add ‘r’, ‘reverse’ option to ‘batchrename’ for creating
reverse filenames.
− Add ‘functions’ from ‘commandlinefu.com’, a function showing
functions and where they have been defined, by user
‘goelztec’.
− Add option to change default settings for ‘less’ pager (may
conflict with less as ‘git’ pager when also using ‘colored
manpages’).
• Misc. Changes
− Minor improvements to ‘bashstyle_history_sync’.
− Various (minor) UI improvments and remove deprecated
properties from Glade UI definition.
− Properly log changing user agent strings for ‘cURL’ and ‘wget’
in ‘HOME/.bashstyle-ng.log’.
− Properly unset several more variables only used during
initiliazation.
− Update german translation.
10.7.4 (20220505) "Stargazer"
=============================
• 15th Anniversary
− The very first release of ‘BashStyle’ was released on 1st May
2007, so version 10.7.4 marks the 15th Anniversary version. I
never thought the project would live on a long time like that.
• Bug Fixes
− #274 ‘sufffix’: fix wrongly named files, when mime-type leads
to non-exact match.
− #275 ‘systemkit’: adopt ‘freeram’, ‘usedram’, ‘totalram’,
‘usedram%’, ‘freeram%’, to ‘top’ changes.
− #276 ‘reload_bash’: fix resetting ‘ERR’ trap.
• Misc. Changes
− ‘configure’: add ‘/usr/share/gir-1.0’ to gir paths to look
for.
− ‘systemkit’: ensure output from cpuload is always 3 digits,
ram usage always 5 digits (filled with leading zeros; for
inclusion in prompts).
− ‘equinox’: adopt to ‘systemkit’ changes.
− ‘HISTFILE_TMP’ envvar used by customized ‘bashstyle-ng’
history functions renamed to ‘BSNG_TMP_HISTFILE’ to match
other ‘bashstyle-ng’ envvars. Also guard for ‘reload_bash’.
− Remove year from copyright notices in all files, except
documentation, also E-Mail.
− Let configure substitute ‘BSNG_YEAR’ envvar from ‘.settings’.
10.7.3 (20210319) "New Horizons"
================================
• Bug Fixes
− #271 ‘bashstyle-rc’: prevent error messages on first start
− #272 ‘configure’: make python version check more robust
− #273 ‘gettext’: due a bug in ‘eval_gettext’ strings starting
with dashes lead to issues in ‘camelcase’, ‘random’ and
‘randomfile’ functions, so use old school ‘$'...'’ syntax as
quick fix.
10.7.2 (20200830) "Klick Klack"
===============================
• Bug Fixes
− #268 ‘gitkit’: fix ‘cloneuser’ command not working.
− #269 ‘history sync’: fix terrible bug that could cause
complete loss of history when many Bash instance are started
at once and trying to access the history file.
− #270 ‘bashstyle_history’: custom 'history -D' param now also
deletes single commands in history (eg: ‘history -D geany’
previously only deleted ‘geany some_file’, but not ‘geany’,
now both will be deleted).
• New Features
− ‘colors’: add possibility to set colors for GCC messages.
− ‘gitkit’: add ‘listuser’ and ‘listorg’ commands for listing
repos from a GitHub user or GitHub organization.
− ‘advanced’: add possibility to set useragent string for
‘cURL’.
− ‘advanced’: add possibility to set useragent string for
‘wget’.
− ‘bashstyle_history’: custom ‘history -D’ param now accepts
multi-word commands for deletion.
− ‘bashstyle_history’: new custom ‘history -g’ param to grep
history for simple pattern.
− ‘bashstyle’: add ‘-l’/‘--log’ action to view BashStyle-NG log
file.
• Misc. Changes
− Update german translation.
10.7.1 (20191220) "Dragonyule"
==============================
• Bug Fixes
− #266 ‘lscd’, ‘treecd’: fix error messages when cd-ing into
empty directory caused by gettext string evalutation.
− #267 ‘bat’: on some distributions ‘bat’ is called ‘batcat’,
support both.
• New Features
− Allow to open the BashStyle-NG logfile
(‘HOME/.bashstyle-ng.log’) from UI (About > BashStyle-NG
Logfile).
• Misc. Changes
− Add package ‘fd-find’ to suggested packages in Debian
GNU/Linux packaging scripts.
10.7 (20190910) "Kaffee Filtrino"
=================================
• Important Information
− Starting with this release Python 3.0.0 or newer is required
to run BashStyle-NG.
• Bug Fixes
− #257 ‘GNU Nano’ settings: fix setting UI colors.
− #258 ‘GNU Nano’ settings: update possible settings for new
‘GNU Nano’ versions.
x ‘const’ was renamed to ‘constantshow’.
x ‘poslog’ was renamed to ‘positionlog’.
x ‘morespace’ was replaced with ‘emptyline’.
x ‘rebindkeypad’ was removed.
− #259 ‘ini handling’: fix checking user settings being
up-to-date on Bash startup.
− #260 ‘make’: fix BashStyle-NG .desktop file, manpage and
‘bashstyle-config-helper’ not being uninstalled.
− #261 ‘systemkit’: fix ‘systemkit dirsize’ not working.
− #262 ‘systemkit’: fix ‘systemkit battery’ not working with
recent ‘acpi’ versions.
− #263 ‘systemkit’: fix ‘systemkit internalip’ not working with
recent ‘ifconfig’ versions.
− #264 ‘ls color’ settings: compat with some embedded terminals
(like terminal in Geany IDE).
− #265 ‘manpage color’ settings: compat with some embedded
terminals (like terminal in Geany IDE).
• New Features
− ‘GNU Nano’ settings: support for the following new settings
has been added:
x ‘linenumbers’: whether to show line numbers at start of
line.
x ‘guidestripe’: whether to draw a stripe at given position
(0 = disabled) so help avoiding overlong lines.
x ‘errorcolor’: set color for error messages.
x ‘selectedcolor’: set color for selected text.
x ‘stripecolor’: set color for the guidestripe.
x ‘numbercolor’: set color for numbers.
− ‘GNU Nano’ settings: allow bright variants for foreground
colors.
− ‘GNU Nano’ settings: change default value for ‘nohelp’ to
‘False’, so commands are shown unless user wants to hide them.
− ‘list’ applet: call ‘ls -A’ instead of ‘ls -a’ if hidden files
should be included.
− New Settings allowing to use ‘bat’ instead of ‘cat’, also
allow setting default theme for ‘bat’ and tab width.
− ‘check’ new flag ‘P’: check if a program exists, and print a
message if not, example ‘check P [program-to-check]
[program-that-requests]’.
• Misc. Changes
− Allow enabling/disabling BashStyle-NG from terminal via
‘bashstyle --enable’ or ‘bashstyle --disable’.
− Rename user configuration from ‘HOME/.bs-ng.ini’ to
‘HOME/.bashstyle-ng.ini’ (auto-migrate from old to new name).
− Rename vendor configuration from ‘/etc/bs-ng_vendor.ini’ to
‘/etc/bashstyle-ng_vendor.ini’.
− Rename all icons from ‘bs-ng-[ICONNAME].png’ to
‘bashstyle-ng-[ICONNAME].png’.
− Rename .desktop file from ‘bs-ng.desktop’ to
‘bashstyle-ng.desktop’.
− Simplify ‘gitkit cloneuser’ / ‘gitkit cloneorg’, use ‘wget’ +
‘awk’ + ‘xe’ instead of ‘curl’ + ‘ruby’.
− Improved ‘gitkit’ function for remembering SSH password.
− Various internal improvements; Restructure resource files;
Check for optional dependencies explicitely in all functions.
− Improve Debian packaging scripts.
− Configure 4.5.0: various internal changes and improvements;
complete list of checks.
− Make 2.0.0: various internal changes and improvements.
− Made most included functions translatable.
− Use ‘eval_gettext’ for translating Bash Scripts intead of
outdated ‘$""’ syntax.
− Update german translation.
10.6.1 "Aventine II"
====================
• Bug Fixes
− #256 ‘gitkit’ applet: handle the case where ‘TMPDIR’ is unset.
• Misc. Changes
− ‘check’ function: check if ‘dig’ is installed before executing
‘check m’.
10.6 "Aventine"
===============
• Bug Fixes
− #253 color settings: compat with some embedded terminals (like
terminal in Geany IDE).
− #254 ‘basefile’ function: fix ‘noext’ option.
− #255 ‘round’ function: fix output not being visible in all
cases.
• New Features
− New applet ‘check’: perform various non-standard checks, used
like ‘test’.
x ‘n’: check if arg is a valid number (int, float, hex,
octal), example: ‘check n 4.4’.
x ‘i’: check if arg is a valid integer, example: ‘check i
4’.
x ‘f’: check if arg is a valid float, example: ‘check f
4,4’ or ‘check f 4.4’.
x ‘h’: check if arg is a valid hex, example: ‘check h
301DE8’.
x ‘o’: check if arg is a valid octal, example ‘check o 24’.
x ‘hc’: check if arg is a valid hex color, example ‘check
hc FFF’ or ‘check hc 000000’, ‘#’ may optionally lead.
x ‘s’: check if arg is a valid string, example ‘check s
"How do you do?"’.
x ‘p’: check if arg is a special character, example ‘check
p ?’.
x ‘c’: check if arg1 contains arg2, example ‘check c
"Thanks, I'm fine." "I'm"’ or ‘check c 1423532 235’.
x ‘sw’: check if arg1 starts with arg2, example ‘check sw
Hello H’ or ‘check sw 12412 124’.
x ‘ew’: check if arg1 ends with arg2, example ‘check ew
Goodbye e’ or ‘check ew 1422412 2412’.
x ‘b’: check if arg is a valid boolean, example ‘check b
$myvar’. ‘check’ recognizes the following as boolean
value:
+ ‘true’, ‘True’, ‘TRUE’, ‘0’
+ ‘false’, ‘False’, ‘FALSE’, ‘1’
x ‘bt’: check if arg is valid boolean true, example ‘check
bt $myvar’.
x ‘bf’: check if arg is valid boolean false, example ‘check
bf $myvar’.
x ‘m’: check if arg is a valid mail address, example ‘check
m "[email protected]"’. ‘check’ matches against a regex and
uses ‘dig’ to see if the domain is available, will
verbosely inform what's wrong (in case).
− New switch ‘-z’ for ‘randomfile’ append filename to command
without separating space, for example ‘randomfile geeqie -r
File: -- $HOME/Pictures/*’.
− New features for ‘gitkit’ applet:
x feature ‘push’: first push to upstream, then push tags
and at last push to all mirrors found in ‘.git_mirror’
file.
x feature ‘taga’: add tag and push to remote, example:
‘gitkit taga TAG [-m MESSAGE COMMITID]’.
x feature ‘tagd’: remove tag locally and remote, example:
‘gitkit tagd TAG’.
x feature ‘tagr’: rename a tag (technically removes tag and
readds it with new name) locally and remote, example:
‘gitkit tagr OLDNAME NEWNAME’, preserves first line of
tag annotation and commit pointed to.
x feature ‘tagc’: make a tag point to a different commit
(technically removes tag and readss it pointing to new
commit) locally and remote, example: ‘gitkit tagc TAG
COMMITID’, preserves first line of tag annotation.
x remember ssh password feature: you can now let ‘gitkit’
start an ‘ssh-agent’ in combination with ‘ssh-add’ so
that the afore mentioned new features (and ordinary ‘git’
remote commands) don't require you to type in your
password everytime. You can customize whether to use
that feature, how long ‘ssh-agent’ should remember the
passwords and what keyfile to use (fallback
‘$HOME/.ssh/id_rsa’). The timer is separate in each Bash
session. See options ‘Remember SSH Key’, ‘Time to
remember’ and ‘SSH RSA Keyfile’ in the ‘Git’ section of
BashStyle-NG.
− improved ‘empty’: you can now specify whether to look for
empty files (example: ‘empty f [PATH]’), or directories
(example: ‘empty d [PATH]’) only. Like before if no arg is
passed (or arg is a path) it will search for both empty files
and directories in given path or in ‘PWD’.
− improved ‘nseq’ function: allow passing the lowest number,
aswell as the field separator (example: ‘nseq 0 5 _’).
− improved ‘ngroups’ function: if run as root, allow passing a
different user than current (example: ‘ngroups USER’).
− improved ‘bashstyle’ launcher: new switches ‘--ini-get’ and
‘--ini-set’ allow getting or setting configuration values from
command line.
• Removed Features
− removed ‘topdir’ function.
− removed ‘assign’ function.
• Misc. Changes
− Configure 4.4.4: several minor internal changes, fixup a Bash
warning message.
− move all functions from ‘DATADIR/bashstyle-ng/rc/functions’ to
‘DATADIR/bashstyle-ng/functions’.
− fix help message for ‘ruler’ function.
− updated german translation.
− several minor internal changes and improvements.
10.5 "Kerala"
=============
• Bug Fixes
− #250 (histignore): fix default value for HISTIGNORE.
− #251 (history sync): fix ‘history’ not properly working when
‘history sync’ is active.
− #252 (make): fix creating pot files.
• New Features
− New command ‘history -D COMMAND’ which deletes all entries of
a given command from the history, example:
‘history -D rm’
will delete all occurences of ‘rm’ from the history. ‘history
-D’ does exact matches, so for example ‘rmdir’ is not removed
from history, if ‘rm’ is passed as ‘COMMAND’.
− History Isolation. This will
x prevent storing the history to file when Bash exits
x disable history syncronization
x disable in-session history
x disable the builtin history command
− New shopt ‘localvar_inherit’, requires Bash version 5.0.
− New keybindings ‘next-screen-line’ and ‘previous-screen-line’,
requires Readline version 8.0.
• Misc. Changes
− Minor user interface improvements.
x Widget adjustments and sizes improved.
x User can now choose between standard ‘cd’ or BashStyle-NG
‘lscd’ or ‘treecd’.
x User can now choose between standard ‘history’ or
BashStyle-NG ‘History Sync’ or ‘History Isolation’.
− ‘bashstyle -v’ and About Page now show the release codename,
too.
− New internally used variable ‘BSNG_SESSION_TIME’ contains the
BashStyle-NG startup time in ‘+%I-%M-%S-%N’ format.
− Updated german translation.
10.4 "Alrest"
=============
• Bug Fixes
− #249 (lscolors): fix applying ls color for jpg files
• Misc. Changes
− LS Colors: apply colors for alternative suffixes, too:
x apply color for ‘jpg’ to ‘jpeg’
x apply color for ‘tar.gz’ to ‘tgz’
x apply color for ‘tar.bz2’ to ‘tbz’
− Make 1.1.0: simplify code, minor fixes
− Configure 4.4.1: add ‘-h’ in addition to ‘--help’, minor
changes
− ‘batchrename’: proper verbose output
10.3 "Odyssey"
==============
• Bug Fixes
− #247 (randomfile): fix executing ‘randomfile’ if neither ‘-r’
or ‘-p’ are used.
− #248 (randomfile): fix handling file or directory names with
spaces.
• Misc. Changes
− Configure 4.4.0: simplify code
− Update ‘README’, ‘TODO’, Debian GNU/Linux package description.
− Update german translation.
10.2 "Circus of Insanity"
=========================
• Bug Fixes
− #242 (systemkit): ‘systemkit’ did not accept the given
‘directory’ for function for counting files, directories or
overall items, instead it always used ‘PWD’. Now it respects
a given ‘directory’ and uses ‘PWD’ if none was given.
− #243 (systemkit): ‘systemkit’ result of function for countine
files, directories or overall items were off by 1 in some
cases.
− #244 (randomfile): fix that ‘randomfile’ could not handle
parameters passed to the application, e.g.: ‘randomfile geeqie
-r -- /home/test/Pictures/*’ does now work as intended.
− #245 (randomfile): check whether ‘HOME/.randomhistory’ exists
before doing anything when ‘-f’, ‘-l’, ‘-L’ or ‘-i’ are given.
− #246 (dd): fix that custom ‘dd’ options don't work.
• New Features
− Add possiblity to count hidden items to ‘systemkit’:
x counthiddenfiles / chf
x counthiddendirs / chd
x counthiddenitems / chi
− Add possibility to only print the result for ‘randomfile’,
using ‘-p’, ‘--print’ parameter.
− Add possibility to not specify any files, in that case it will
use all files from ‘PWD’, use like ‘randomfile geeqie --’.
• Removed Features
− ‘2048’ game
− ‘bashtips’ function
− ‘batch’ function
− ‘hilow’ game
− ‘quickscript’ function
− ‘remount’ function
− ‘wininfo’ function
− ‘xmltagdelete’ function
− vim color schemes
• Misc. Changes
− Add short switches for over-long switches to ‘systemkit’:
x countvisiblefiles -> cvf
x countvisibledirs -> cvd
x countvisibleitems -> cvi
x countoverallfiles -> cof
x countoveralldirs -> cod
x countoverallitems -> coi
− Add short switches to ‘apkdump’:
x name -> n
x version -> v
x versioncode -> c
x perms -> p
− Make ‘sufffix’ quiet by default, add ‘-v’, ‘--verbose’ switch,
to get verbose output, if desired.
− Add ‘-v’, ‘--verbose’ switch to ‘batchrename’, to get verbose
output, if desired.
10.1 "Victory Forever"
======================
• Bug Fixes
− #238 (systemkit): make ‘countvisibleitems’ work, when ‘PWD’ is
a symlinked directory.
− #239 (functions): scripts that check for required applications
no longer print the path to the found binary.
− #240 (gitkit): make ‘openhub’ parameter support more than just
github.com origins (for example gitlab projects are now
properly opened in browser, aswell), also rename ‘openhub’
parameter into ‘openweb’.
− #241 (ui): fixed that the UI definition had a property
introduced in GTK+ 3.10, so potentially not working on
previous GTK+ versions.
• New Features
− ‘topdir’ function, returns the deepest existing toplevel
directory for a given path, returns ‘1’ if none found at all.
− ‘camelcase’ function, transforms a string (‘test_string-a b’)
in either camelcase (‘TestStringAB’) or word-by-word uppercase
(‘Test String A B’).
• Misc. Changes
− ‘Equinox’ and ‘Power User’ prompt styles now also use the
‘showuser’ function instead of bash built-in ‘$’ prompt
variable.
− ‘lscd’ and ‘treecd’ changes:
x in the user interface you could previously enable both
‘lscd’ and ‘treecd’, which is of course not supported, so
if both were enabled, ‘lscd’ was used, always. This is
fixed now, as the user interface now only lets enable one
or the other, not both.
x make ‘lscd’ and ‘treecd’ strings localizable.
x nicer banner shown after cd-ing.
x truncate output if more than 35 items would be displayed,
also show how many items have been ommited.
x when user choses that custom cd creates non-existent
directories, they now check whether user has write
permission for top-level directory.
x display a message if cd-ing failed because directory does
not exist.
− Update documentation
x Style: add ‘Equinox’ and ‘4.4+’ Sections
x Advanced: add all new features introduced in ‘10.0’
− When ‘systemkit bios’ is called as non-root user a message is
printed accordingly (instead of just exiting without further
notice).
− Update german translation.
10.0 "10th Anniversary Version"
===============================
• Bug Fixes
− #226 (gitkit): fix ‘openhub’ feature, when there is more than
one remote.
− #227 (bashstyle-rc): Make Bash history syncronization over
different sessions more robust.
− #228 (ui): Fix translation domain for user interface.
− #229 (launcher): Fix ‘-p’ and ‘-P’ command line args were
mixed up.
− #230 (treecd): Check whether ‘tree’ is installed, if not,
override the user's choice to use ‘treecd’ instead of ‘cd’.
− #231 (equinox): Fix missing prompt part in ‘equinox’ style
when terminal has not enough lines of height to draw all
user-requested prompt part.
− #232 (equinox): Dynamically calculate minimum required number
of lines in height required to draw all user-requested prompt
parts.
− #233 (clock): Use prompt color definitions instead of hacky
‘sed’ substitutions (left-over from very (very) early
‘BashStyle-NG’ versions) in the ‘clock’ prompt style.
− #234 (poweruser): Use ‘grep -c’ instead of ‘grep xx | wc -l’.
− #235 (ayoli): Fixes and improvements for ‘ayoli’ prompt style.
− #236 (custom-prompt-builder): Version of ‘equinox’ prompt
style in the ‘custom-prompt-builder’ was bugged since the
introduction of ‘lastcommand’ prompt part.
− #237 (systemkit): ‘systemkit --dirsize’ was broken.
• New Features
− Add ‘apkdump’: grab information about android packages (apk)
using aapt.
− Add ‘sufffix’: fixes the suffix for given files.
− Add ‘batchrename’: batch renames all files in a directory
using the ‘NNN-NAME.SUFFIX’ naming scheme, where ‘NNN’ is the
number of the file inside the directory (filled up with
leading zeros if required, eg. ‘01’ or ‘001’) and ‘NAME’ is
given by the user.
• Misc. Changes
− Minor improvements to the bashstyle launcher script.
x minor code changes.
x Add ‘-d’, ‘--doc’ command line arg to bashstyle, which
opens the HTML documentation using ‘xdg-open’.
x Improve description of the ‘-P’, ‘--python’ command line
arg of the bashstyle launcher script.
− More versatile ‘config-update-helper’.
x Install ‘bashstyle-config-helper’ launcher script.
x Add backup, restore and reset actions to
‘config-update-helper’.
x Add ‘-b’, ‘--backup’ command line arg to bashstyle, which
will backup the user configuration.
x Add ‘-r’, ‘--restore’ command line arg to bashstyle,
which will restore a previously backed up user
configuration.
x Add ‘-R’, ‘--reset’ command line arg to bashstyle, which
will reset the user configuration to vendor values (if
vendor configuration exists and is up to date) or factory
values.
x ‘-u’, ‘--update’ command line arg of bashstyle was not
mentioned in ‘-h’, ‘--help’ message.
− Update german translation.
− Update ‘bashstyle.1’ manpage.
− Rename ‘bsng-help’ to ‘bashstyle-help’.
− Remove ‘check_opt’, instead do a check in each script on it's
own.
− Improve coding style for various functions, scripts and prompt
styles.
− Update prompt styles in the ‘custom-prompt-builder’.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
9.3 "Trick or Treat"
====================
• Notes
− This release renamed the ‘nx-rc’ to ‘bashstyle-rc’, that
means, you'll have to re-enable ‘BashStyle-NG’ in your
‘$HOME/.bashrc’. Upon first start ‘BashStyle-NG’ will offer
you to do so, on it's own.
Additional notes for Git repo users:
x This also applies to users that have used version 9.3
prior to commit 4e621c.
x Any references to ‘nx-rc’ will be auto-removed when
re-enabling from UI, as of commit 2ff6c0, if you
transisted before that commit, be sure to remove ‘nx-rc’
references from your ‘$HOME/.bashrc’ manually.
• Bug Fixes
− #204 (debian vendor config): fixed error in Debian vendor
configuration, preventing BashStyle-NG UI from startup.
− #205 (ui): fixed buttons for saving, restoring, deleting and
reverting user configuration in UI not working.
− #206 (manpage colors): enforce environment variable ‘PAGER’ to
be ‘less’, else colorizing manpages might fail, if an other
pager is used.
− #207 (trap): fix recording exit code of last command if it's
not 0.
− #208 (startup): fix enabling ‘BashStyle-NG’ in ‘$HOME/.bashrc’
from user interface in certain cases.
− #209 (startup): add file check when enabling ‘BashStyle-NG’ in
‘$HOME/.bashrc’, so that ‘Bash’ does not run into errors on
startup when ‘BashStyle-NG’ was uninstalled, but the startup
entry still exists.
Aswell as when it was installed to a different prefix, without
having adjusted the startup entry in ‘$HOME/.bashrc’.
− #210 (configuration): when ‘ini_version’ of ‘$HOME/.bs-ng.ini’
is bigger than ‘app_ini_version’, the configuration is reset
to either vendor or factory default configuration. When doing
so the configuration was not reloaded by the user interface
(which could potentially lead to a crash).
− #211 (colorshell): new option ‘Dark Terminal Background’
allows user to set whether the terminal background is dark or
bright. This option is used for colorshell to prevent the
font color being black on dark terminals, respectively white
on bright terminals in order to avoid barely readable text
output.
This option also applies to all other terminal dependant color
settings in ‘BashStyle-NG’, where ‘white’ will be ‘black’ on
bright terminals, respectively ‘black’ will be ‘white’ on dark
terminals.
− #212 (readline): fixed setting ‘bell-style’ readline variable.
− #213 (readline): fixed setting ‘completion-ignore-case’
readline variable.
− #214 (ls colors): fixed readline not inheriting ‘LS_COLORS’
set by ‘BashStyle-NG’. This resulted in readline functions
using distribution default ‘LS_COLORS’, but bash functions
using the user set variable.
− #215 (lastcommand): fixed last command recording to generate
ugly results for bash prompts (‘lastcommandprintable’) by
removing all newlines from the string.
− #216 (treecd): fixed user set ‘treecd’ options not being
honoured.
− #217 (lscd, treecd, grep): force switch to monochrome output
when user has disabled colorful prompts.
− #218 (equinox, truncpwd): fixed prompt length calculation for
‘equinox’ prompt, if ‘pwdcut’ ini value is not set. Fixed
output string length calculation for ‘truncpwd’ function
aswell.
− #219 (debug log): the debug log now properly stores all
messages, run commands and their (error) output in
‘$HOME/.bashstyle.log’ after startup. Before this fix only
the messages from ‘BashStyle-NG’ itself were stored, making
the debug log rather useless.
− #220 (ini_set): fixed setting ini values from shell.
− #221 (equinox): when on linux console let display ‘+’, ‘-’ and
‘/’ for ‘lastcommand’ exit code visualization instead of ‘✔’,
‘✘’ and ‘⊘’, as they won't display correctly.
− #222 (custom prompt builder): fixed a few bugs in the
pre-definied prompt definitions for the custom prompt builder.
− #223 (keybindings): fixed that keybindings were always
changed, even if user disabled that feature from UI.
− #224 (factory ini, debian vendor ini): enable ‘extglob’ shopt
by default. Some bash completion definitions don't work
without (eg: vim's).
− #225 (dd): fixed no longer working ‘dd’ when loading
‘bashstyle-rc’ more than one time during a single bash
session.
• New Features
− Previously updating the user configuration to a new version
was only possible by invoking the ‘BashStyle-NG’ user
interface. Now the user configuration is auto-updated from
‘bashstyle-rc’ upon shell start up aswell (if needed, vendor
configuration is considered if up-to-date, else factory
configuration will be used (same behaviour as from user
interface)).
Manual update is possible via ‘bashstyle --update’, or
‘bashstyle -u’. If your configuration is up-to-date, nothing
will be changed.
− New Termcap/Manpage coloring function. ‘BashStyle-NG’ now
allows you to choose the different colors for manpages from
the User Interface, rather than only giving you a handful of
pre-defined color schemes.
− Added option to include the current directory to the ‘PATH’
variable.
− Added coloring options for ‘lscd’ and ‘treecd’ for different
‘banner’, ‘mkdir’ and ‘empty’ labels.
− Added options for letting user choose what to use for
‘lastcommand’ exit code visualization. ‘return_good’, which
is ‘✔’/‘+’ by default ‘return-bad’, which is ‘✘’/‘-’ by
default and ‘return_other’, which is ‘⊘’/‘/’ by default. This
is currently only used in ‘equinox’ prompt.
− Ability to choose what to display in ‘equinox’ prompt. You
can now enable or disable the following informations:
x system load
x cpu load
x ram usage (pro tip: enabling this will dramatically
increase the time required to draw the prompt)
x last command (and exit code)
x process count
x uptime
− Added ‘showuser’ function. Prompt function to either show ‘$’
for normal users, a custom-set symbol. Always displays ‘#’
for root. If colors are enabled color for normal-users will
be ‘color_user’ and red for root.
− Added ‘user_char’ option. Set this to let ‘showuser’ display
something else than ‘$’ for ordinary users.
− New Bash 4.4 features support:
+ ‘EXECIGNORE’ a colon-separated list of commands to ignore
from completion. Only matched if the *complete* filename
matches. For example if you want to exclude
‘/usr/bin/autoreconf’
from command completion, you need to add something like
‘/usr/bin/autreconf’ or ‘*/autoreconf’
to ‘EXECIGNORE’.
+ ‘PS0’ prompt and color setting. A new prompt which is
displayed after completion was done and before the
completed command is executed.
− New Readline 7.0 features support:
+ added Readline 7.0 master switch (enable to make use of
the following).
+ ‘Colored Completion Prefix’ makes the matching prefix of
the issued completion appear in a special color for all
matches.
+ ‘Enable Bracketed Paste’ makes Bash handle multi-line
pasted code like single-line, preventing erroneous
completion or execution.
+ ‘Vi Command Mode String’ is an indicator printed before
the last line of ‘PS1’ when Bash is in vi command mode.
+ ‘Vi Insert Mode String’ is an indicator printed before
the last line of ‘PS1’ when Bash is in vi insert mode.
+ ‘Emacs Mode String’ is an indicator printed before the
last line of ‘PS1’ when Bash is in emacs mode.
• Updated / Improved Features
− ‘history syncronization’ improved history syncronization
erasedups, ignoredups, ignorespace and ignoreboth
implementation. Made it more robust in case multiple Bash