-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
2267 lines (2267 loc) · 290 KB
/
.zshrc
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
# 381KF3RN:~/.zshrc by PipStuart <Pip@CPAN.Org>; nOt:IOriginaly thotitbetr2rElymoron stndalOn XeQtablUtlz than aliasz||shL-scrpt funczDfInd inany .rc Bcuz4mer
# stAy availabl 2spawnd procSz wich hvOwn non-Zsh sub-shL cfgz (eg, insrtngPerl2Vim :r!q 127/7;b64 1023) sO I pland2port stuf hEr2my Octology libz && ~/bin/
# butIhv rElIzdth@ c8.pm (inprep4"H"8sh)mABcomAbl2pRs .(ba|z)shrc fIlz2lOd thEz&&canmk thMavail2othr shLz bywrapng cmdz wiXpansionUtlz; lern LaunchPad/byobu,
# 2du:NCE:rEsrch && stuD advIc on wethr Uzng subshL $() mOst plAcz in hEr nstd of rampant `` baktix shud B betr sinc pRNz nSt wo lAyrd SKpng ofDpNing tix && ?,
# rEad sItez: HTTPS://ReddIt.Com/r/zsh/comments/17nsin0/my_top_5_zsh_plugins && HTTPS://Catalins.Tech/zsh-plugins && HTTPS://GitHub.Com/FDellwing/zsh-bat &&
# HTTPS://GitHub.Com/Zsh-Users/zsh-syntax-highlighting && HTTPS://GitHub.Com/Zsh-Users/zsh-autosuggestions plus PwrLvl10k && StarShip 4 modernIzng myZsh,
# add perVC autostRt nwlOcl`scrn`if!alredy in1,lern`autoload -z`&&sepR8hist,get any othrUseful modulz lIk pcre,mAB mk xrhd 4 xr&&r 2 EZ r8pik 144Hz 2HDpMvI?,
# stuD AutoComplete Ctrl-R setup && BhAVor 2 supOsedly somethng lIk sLectivly regX match serch thru cmnd hist && cycl furthr wi mor Ctrl-R or Enter 2 choose;
# nOt:HTTPS://Joel.Porquet.Org/wiki/hacking/vim_konsole has a pretty good little article about mapping good Vim && Zsh keyz from within KDE's konsole terminal.
# bakon gN2:`em scummvm`:2use nw"modern"theme4scummvm,add2[scummvm]sect of~/.scummvmrc(aftr runing scummvm once):themepath=/usr/share/games/scummvm/engines;
# nowon ubu:`agi scummvm`&&mAB -d8a shud wrk2plA around wi2D advN2rz AgN; If cmd cursr is by an alias Ctrl-x,a will _expand_alias&&mABcan disAblit4 wh pRam?;
# `sz` in /etc/init.d c@chz lOcl sudo* bin daemon nstd of /usr/bin versN,prmpt similRly chOkz tryng`d8`within~/.inst/perl-5.8.8 sO mAB rEordr path2!hv probz?
#[[ -e /sw/bin/init.sh ]] && source /sw/bin/init.sh; # fink:FreeBSD special shL stufInEded2src4zsh on oldLBoxB4Keith rEvertd bak2 gN2; "${(L)OSTYPE}"== *bsd?
zmodload zsh/pcre
setopt \
auto_cd \
auto_name_dirs \
complete_in_word \
re_____match_____pcre \
hist___________verify \
hist__ignore_all_dups \
pushd_ignore_____dups \
pushd___________minus \
prompt__________subst \
magic___equal___subst # man zshoptions explains all are case-insensitive && ignore underscores so I'm using them now for word sepR8ion && vertical alignment
unsetopt \
pushd_____to_____home \
hist__save___by__copy \
share_history \
bash_rematch \
prompt_cr # nO CarriageReturn B4 Ech nw prmpt (sux th@ cmdln editng oftN getz skewd unlS nwlInz bracket evrythng); F1KL2nZE:mvd sharehist dn2un;
# hist__save___by__copy \# acordng2:HTTP://ZSh.Org/mla/workers/2006/msg00787.html setng this shudlet root sharemy .zsh_history or HIST_APPEND or SHARE_HISTORY?
# menu_complete \# setng mkz 1st tab XplOd m@ch list; # bash_rematch mAB mkz regX capturez use $BASH_REMATCH instead of default $match?
# auto_pushd \# setng addz dirz 2 stack wN just normally chngng 2 thM (wich I du not normally lIk or want)
# ksh_arrays \# rEmMbr wNwrItng scrptz[or funcz]2include'setopt [localoptions] ksharrays'sO arAzR 0-bAsed(but!glOblBcuzmOst scrptzRstndrdly 1-bAsed)
# re_____match_____pcre \# mA want2set for Z-SHell scripting RegularExpressions to utilize PerlCompatibility styles && mA insert 'zmodload zsh/(pc)?re(gex)?';
export Vers='0.000000';export d8VS='O3QMNjLo';export Auth='PipStuart <Pip@CPAN.Org>'; # !Xprtng $b th@cOlIdz Perl sort{$a<=>$b} t1 /defhijlnqstuvx/i +AZ 4golf;
if [[ "$SHELL" == "" ]] ||
[[ "$SHELL" =~ bash ]]; then export SHELL=$(which zsh);export HShl="$SHELL";fi;
if [[ "$HOSTNAME" == "" ]]; then export HOSTNAME=$(hostname);fi; #`hostname`retnz fsckd nwlInz\n4CygWinzRxvt... ||smthng els lame =(
if [[ "$HOST" == "" ]]; then export HOST ="$HOSTNAME";fi;export VERBOSE='1'; # set flag to print debug && status info from system utilz
if [[ "$HOST" != "" ]] && # hOpfuly stop cloberng Docker contAner /etc/zsh/zprofile set of $HHst && error failing Zsh run wi: "Oni not found"!;
[[ "$HHst" == "" ]]; then export HHst="$HOST";fi;export HPgr=$(which most); # mIt prEfer lS (less) wi SKp colrng AbiliTz||mkmyOwnl8r?;
export HHom="$HOME";alias lc="tr 'A-Z' 'a-z'";alias uc="tr 'a-z' 'A-Z'"; # || mayb atMpt2dup $var thru: $(echo $var|tr 'A-Z' 'a-z') | "[:(upp|low)er:]"
export HUsr="$USER";export HAEd=$(which nvim);export HWid="$COLUMNS";export HOSy="$OS"; # zsh's lc() 4varz2 m//i "${(L)HOSTNAME}"acordng2:
export HShl="$SHELL";export HEdt=$(which vim);export HHit="$LINES"; export HOTy="$OSTYPE";export H3WF="0"; #HTTP://WWW.CS.Elte.Hu/zsh-manual/zsh_6.html
export COLUMNS="$COLUMNS";export LINES="$LINES";export ROWS="$LINES";alias hn='hostname'; # zsh setz thEse lOcally but must Xport thM 4 Perl scriptz 2 access
# Used2 if [[ "${(L)HHst}" == ax9*]]; then export HHst='Ax9'; elif ... 2abbreV8&&capitalIz myhOst&&UzrnAmz fromold dvl&&work machinz especially4CygWindoze;
# XDG (Xorg baseDirzGuide)4:GTK2,Compiz,Uzbl,Arora,Audacious,TrollTech,etc. from: HTTP://Standards.FreeDesktop.Org/basedir-spec/basedir-spec-latest.html
export XConfHom="$HOME/.config"; export XConfDrz="/etc/xdg";alias mkt='mktemp';export XDG_CONFIG_HOME="$XConfHom";export XDG_CONFIG_DIRS="$XConfDrz";
export XDataHom="$HOME/.local/share";export XDataDrz="/usr/local/share:/usr/share";export XDG_DATA_HOME="$XDataHom"; #port XDG_DATA_DIRS="$XDataDrz";
export XCachHom="$HOME/.cache"; export XSESSION='Gnome' ; export XDG_CACHE_HOME="$XCachHom";export XDG_MENU_PREFIX='gnome-';
export XDataDrz="$XDataDrz:/var/lib/flatpak/exports/share:$XDataHom/flatpak/exports/share" ;export XDG_DATA_DIRS="$XDataDrz";
# N26L8989:append flatpak share dirz for handbrake video transcoder && whatever other desktop app packages to be installed through flathub or similar;
export SNAP_USER_DATA="$XDG_DATA_HOME/snap"; # J54MISNA:HTTPS://Bugs.LaunchPad.Net/ubuntu/+source/snapd/+bug/1575053 HTTPS://AskUbuntu.Com/questions/882562 ;
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then # set variable IdNtifyng the chroot U wrk in (Used in prmpt bElO)
debian_chroot=$(cat /etc/debian_chroot) ; fi;
export HOa8='Octology::a8';export HOb8='Octology::b8';export HOc8='Octology::c8';export HOd8='Octology::d8'; # Perl Octl Module nAme abbrEV8ionz 4 abcd8 Ufk8;
export HOU8='Octology::U8';export HOf8='Octology::f8';export HOk8='Octology::k8';export HTHi='Time::HiRes' ;
alias xprt='export';alias Xp='export'; # even shorter versions of export command which might need 2 become functions 2 avoid multi-pRam unwantd aliasXpansion?;
# BlO TMP from HTTPS://StackOverFlow.Com/questions/2435062/what-happened-to-the-tmp-environment-variable (mAB add -d -t 2 mktemp call aftr rEding man pgz?);
export TMP="${TMP:-$(dirname $(mkt -u))}/"; # OvrIdDflt /tmp wi ~/.tmp if the latter Xistz, thN Xport othr 3 common ENV varz which mIt B Used 2 design8 TMP;
if [[ -d "$HOME/.tmp" ]]; then export TMP="$HOME/.tmp/";fi;export TEMP="$TMP";export TMPDIR="$TMP";export TMPPREFIX="$TMP";
export EDITOR="$HEdt";export PERL5LIB="$HOME/lib:$HOME/lib/perl5/lib/perl5/x86_64-linux-gnu-thread-multi:$HOME/lib/perl5/lib/perl5:./lib";
PAGER="$HPgr";export PERL_TEST_POD='1' ;export PERLDOC="-w width:$COLUMNS"; #pdoc;`which most`||PAGER=`which less`||PAGER=`which more`;export PAGER;
export PERL_TEST_CRITIC='1';export PMARSHOME='/usr/share/games/pmars/macros'; #fyn,letz get crit! ;) && pmars-sdl needz its macroz;
export SDL_VIDEO_CENTERED='center'; #xport SDL_VIDEO_WINDOW_POS='x,y'; try2cNtrSDLapzfrom: HTTP://SDL.Beuc.Net/sdl.wiki/SDL_SetVideoMode
# export SDL_WINDOWPOS_CENTERED='1' ; # try 2 center SDL applic8ionz from:
# HTTP://Wiki.LibSDL.Org/moin.cgi/SDL_SetWindowPosition?highlight=%28\bCategoryVideo\b%29|%28CategoryEnum%29|%28CategoryStruct%29
export RAKULIB="$HOME/lib/raku"; # nEds2B comma-sepR8d,!colon I think; # SKpz:\033 \x1b \u001b \27 \e mAB Ndngin:\007 \x07 \u0007 \7 \a (OctHexUnicodDecAscii);
# HTTPS://YouTu.be/3T2Al3jdY38&t=492 "Weaponizing ANSI Escapes" N9F:0eU0 Bash(&& Zsh?) prefers Octal, Python Hex, Java/JavaScript Unicode, PowerShell Decimal;
alias ec='echo ';alias eE='ec -E';alias enE='en -E';alias eEn='enE'; # if -E (supposedly default?), back-slash (bkslsh) escape-codes interpret8ion: disabled ;
alias en='ec -n';alias ee='ec -e';alias ene='en -e';alias een='ene'; # if -e escape interprt8ion enabled for:\\ bkslsh,\a alert(BEL),\b bkspc,\c no-mor-outpt,
alias pf='printf';alias P='pf'; alias ece='ec -e';alias eec='ece';alias F='P'; # why want spaced-some str-print-4m@d 4 F just in Pi8.pm or ec en chomp o89?;
# \e escape, \f form-feed, \n new-line, \r carriage-return, \t horizontal-tab, \v vertical-tab, \0NNN byte-wi-octal-val-NNN(1to3digits), \xHH byte-Hexa-val-HH;
# Note:Your shell may have its own version of echo, which usually supercedes version described in `m echo`. Please refer 2 shL dox 4 DtAlz about suportd optnz;
#xport bk="\e[40m" ;export br="\e[41m" ;export bo="\e[43m" ;export by="\e[43m" ;export bg="\e[42m" ; # L13LCuts: bkslsh SKpz here had2go literal BlO;
export bk="[40m" ;export br="[41m" ;export bo="[43m" ;export by="[43m" ;export bg="[42m" ; # set isol8d bkgrnd codez;
export bc="[46m" ;export bb="[44m" ;export bm="[45m" ;export bp="[45m" ;export bw="[47m" ;
export k="[22;30m";export r="[22;31m";export o="[22;33m";export y="[22;33m";export g="[22;32m";export z="[00m"; #XLBJ Xport d8:L (2021)BlkJk;
export c="[22;36m";export Sb="[22;34m";export m="[22;35m";export p="[22;35m";export w="[22;37m"; # low-z zeroReset #XLBJ SKp21 a8-styl colrcodz;
export K="[01;30m";export R="[01;31m";export O="[22;33m";export Y="[01;33m";export G="[01;32m"; #XLBJ TEN10 BRIGHT FOREGRNDZ;
export C="[01;36m";export B="[01;34m";export M="[01;35m";export P="[22;35m";export W="[01;37m"; #XLBJ Purpl=dRk-M,Orng=dRk-Y;
export hK="[100m" ;export hR="[101m" ;export hO="[103m" ;export hY="[103m" ;export hG="[102m" ; # can:export W=$'\e[01;37m'; nstdof literalSKp;
export hC="[106m" ;export hB="[104m" ;export hM="[105m" ;export hP="[105m" ;export hW="[107m" ; # set high-intensity (bg);
export HK="[90m" ;export HR="[91m" ;export HO="[93m" ;export HY="[93m" ;export HG="[92m" ; # set HIGH-INTENSITY (FG);
export HC="[96m" ;export HB="[94m" ;export HM="[95m" ;export HP="[95m" ;export HW="[97m" ; # d8bo BlO just scalar or hash-key? Look-it-up!;
alias pla=" perl -M$HOa8 -M$HTHi -CS -E"; # ... but may need function to include "binmode STDOUT,':utf8'" somehow? # nEdz dF 1st?!;
export D0=$(pla 'o8 $d8cS[0]');export D4=$(pla 'o8 $d8cS[4]');export D2=$(pla 'o8 $d8cS[2]');export D6=$(pla 'o8 $d8cS[6]'); # d8cS 0..7 && d8bo ;
export D1=$(pla 'o8 $d8cS[1]');export D5=$(pla 'o8 $d8cS[5]');export D3=$(pla 'o8 $d8cS[3]');export D7=$(pla 'o8 $d8cS[7]'); #port D8=$(pla 'o8 $d8bo'); # 2du;
export HpPF='0'; # set 8sh "H" profilePicker Flag to 1 to popul8 base single-char color variablez with l8st d8bo entries as desired override of standard Dfltz;
# if setng 2 1,rEmMbr th@ all thEz baktix BlO R super slO evry tIm Zsh stRtz up or I run src sO probably mk fastr somehow B4 NAblng this stuf th@z barely Uzd!;
# [[ "$HUsr" == *I ]]; then # try to remember that non-"pip" users are not going to see these profile-based changes when sourcing this file!;
if [[ "$HpPF" == "1" ]]; then export R=$(pla 'o8 $d8cS[0]');export C=$(pla 'o8 $d8cS[4]');
export O=$(pla 'o8 $d8cS[1]'); export o=$(pla 'o8 $d8cS[1]');export B=$(pla 'o8 $d8cS[5]');
export p=$(pla 'o8 $d8cS[7]'); export Y=$(pla 'o8 $d8cS[2]');export M=$(pla 'o8 $d8cS[6]');
export P=$(pla 'o8 $d8cS[7]'); export G=$(pla 'o8 $d8cS[3]');fi; # ck H pickProfileFlag 4 custom base-color Xportz;
paCz() {pla '@c=split(//, "krOygcBmPw KRoYGCBMpW " );for(@c){if(/\s/){print "\n";}else{$E=sS("e",$ENV{"$_"});$e=sS("e","${$_}");chop($E);chop($e);$E=~s/\[//;$e=~s/.*;//;$e=~s/^00(\d)$/ $1/;$e=~s/^0(\d\d)$/ $1/;print "$_:$E $e; "}}';} # PerlPrntAll a8 ColrZ (from %ENV Xportd abov mABjustOrig16 && .pm DfInd up2 255?);
# PerlPrntAll a8 ColrZ (from %ENV Xportd abov mABjustOrig16 or up2 255 if lOded pP wi $HpPF == 1 but .pm stil kEpz singl d8bo varz orig && duz! lOd thM wi pP);
paCZ() {pla '@c=split(//,"krOyg cBmPw KRoYG CBMpW ");for(@c){if(/\s/){print "\n";}else{$E=sS("e",$ENV{"$_"});$e=sS("e","${$_}");chop($E);chop($e);$e=~s/.*;//;
$E=~s/\[//;$E=~s/^(01;)\1+/$1/;$E=~s/^(01|22);(3[0-7])$/$1;$2 /;$e=~s/^00(\d)$/ $1/;$e=~s/^0(\d\d)$/ $1/;print "$_:$E $e; "}}';}
pacZ() {pla 'for(0..7){$e=sS("e",$d8cS[$_]);chop($e);$e=~s/^\[//;$e=~s/^(01;)\1+/$1/;$E=$e;$E=~s/(^|;)(01;)?38;5;0*(\d+);?(\d+|$)/$1$3 $4/;print "$e\n"}';}
pacz() {pla 'for(0..7){$e=sS("e",$d8cS[$_]);chop($e);$e=~s/^\[//;$e=~s/^(01;)\1+/$1/;$E=$e;$E=~s/(^|;)(01;)?38;5;0*(\d+);?(\d+|$)/$1$3\t$4\t/;print $E,$sgrn{$4},"\n"}';}
# #y($C,$B,$M,$P,$p)=(S($cmsp{'d8bo'}[4]),S($cmsp{'d8bo'}[5]),S($cmsp{'d8bo'}[6]),S($cmsp{'d8bo'}[7]),S($cmsp{'d8bo'}[7])); # just S on cmsp mIt!getFDALorSGRz;
# my($R,$O,$o,$Y,$G, $C,$B,$M,$P,$p)=($R,$O,$o,$Y,$G, $C,$B,$M,$P,$p); # just init own cp of orig a8.pm Xportz in case Dfalt prOfIl colrz RUzdBlO;
# ($R,$O,$o,$Y,$G, $C,$B,$M,$P,$p)=($d8cS[0],$d8cS[1],$d8cS[1],$d8cS[2],$d8cS[3], $d8cS[4],$d8cS[5],$d8cS[6],$d8cS[7],$d8cS[7]) if($ppcf); # hopefuly tmplOd;
# HCSL8BCz:nOte th@ all thEse new minimal var nAmz 4 color-codes have a good chance of collIding in minimal shL-script Usagez DfInd l8r BlO, sO try2B careful;
clrz() {
if [[ "$HWid" -lt 160 ]]; then # prnt tSt set 4 bSt mAjor colr-cOdz 2 suport && try2 fit at least pretty well within 80 or 160-wId termz 2 stRt;
ee "${z}nOte:lOwr-cAse b OnlyDfInd2B Sb 2avoid glObal sort perl var;
hK:$hK#$z; hR:$hR#$z; hO:$hO#$z; hY:$hY#$z; hG:$hG#$z; hC:$hC#$z; hB:$hB#$z; hM:$hM#$z; hP:$hP#$z; hW:$hW#$z;
bk:$bk#$z; br:$br#$z; bo:$bo#$z; by:$by#$z; bg:$bg#$z; bc:$bc#$z; bb:$bb#$z; bm:$bm#$z; bp:$bp#$z; bw:$bw#$z;
k:$k#$z; r:$r#$z; o:$o#$z; y:$y#$z; g:$g#$z; c:$c#$z; Sb:$B$Sb#$z; m:$m#$z; p:$p#$z; w:$w#$z;
K:$K#$z; R:$R#$z; O:$O#$z; Y:$Y#$z; G:$G#$z; C:$C#$z; B:$Sb$B#$z; M:$M#$z; P:$P#$z; W:$W#$z;
HK:$HK#$z; HR:$HR#$z; HO:$HO#$z; HY:$HY#$z; HG:$HG#$z; HC:$HC#$z; HB:$HB#$z; HM:$HM#$z; HP:$HP#$z; HW:$HW#$z;";
else
een "${z}nOte:lOwr-cAse b OnlyDfInd2B Sb 2avoid glObal sort perl var; k:$k#$z; r:$r#$z; o:$o#$z; y:$y#$z; g:$g#$z; c:$c#$z; Sb:$Sb#$z; m:$m#$z; p:$p#$z; w:$w#$z;
bk:$bk#$z; br:$br#$z; bo:$bo#$z; by:$by#$z; bg:$bg#$z; bc:$bc#$z; bb:$bb#$z; bm:$bm#$z; bp:$bp#$z; bw:$bw#$z; K:$K#$z; R:$R#$z; O:$O#$z; Y:$Y#$z; G:$G#$z; C:$C#$z; B:$B#$z; M:$M#$z; P:$P#$z; W:$W#$z;
hK:$hK#$z; hR:$hR#$z; hO:$hO#$z; hY:$hY#$z; hG:$hG#$z; hC:$hC#$z; hB:$hB#$z; hM:$hM#$z; hP:$hP#$z; hW:$hW#$z; HK:$HK#$z; HR:$HR#$z; HO:$HO#$z; HY:$HY#$z; HG:$HG#$z; HC:$HC#$z; HB:$HB#$z; HM:$HM#$z; HP:$HP#$z; HW:$HW#$z;"; fi; }
# 99RJGN8g:from old gN2 root@Ryu`em xinit`:IfUUse`startx`nstd ofa login mngr like gdm/kdm,Ucan set XSESSION 2anythng in /etc/X11/Sessions/ or any executable.
# wNU`startx`,itwilrunthis astheloginsession.Ucan set this ina filein /etc/env.d 4NtIrsys,orsetit perUser in ~/.bash_profile (or similR4othr shLz). Xamplof
# setng4wholsys:`echo XSESSION="Gnome" > /etc/env.d/90xsession; env-update && source /etc/profile`; EBJLAkY8:AkuUbu14.10 nolongrhas thOsdirz sOprolyunUsed;
export NVM_DIR="$HOME/.config/nvm"; # L6TMEXIC:strtd setngup GitHub nvm to run Beppu-san's MAD-Sci-Lab/ta/bin/mexico to obtain TradeActivity candle-d8a JSON;
#[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"; # sources the shell-script to load nvm (with the templ8 from bash originally, which should work fine4 zsh);
export JAVA_HOME='/usr/lib/jvm/default-java';export LLVM_INSTALL_DIR='/usr/include/llvm'; # D7PM1TjA:upd8d4Ubu13.04&&ant4Android dvl 2add2pathBlO
#xport NODE_VERSION='v10.16.0'; # J5BMGHVf:NodeJS installed into /usr/local/lib/nodejs/node-v10.15.3-linux-x64/ according to: J6KM5W16:upd8d to LTS version;
#xport NODE_VERSION='v18.17.0'; # N7KMNODE:used `~/dvl/t8/node/nodebrew install v18.17.0` after `md ~/.nodebrew/src` so it could download the src pkg;
export NODE_DISTRO='linux-x64';alias erd='expo r d80k';alias epd='expo p d80k'; # HTTPS://GitHub.Com/nodejs/help/wiki/installation instructionz; r=start
alias xord='erd'; alias xopd='epd';alias xo='expo'; # used to prefer xo => expo, but 4-char is already short enuf; p=publish
alias vb='vbox';alias vbox='apulse virtualbox';alias kb='keybase'; # apulse quells PA init warning but still no audio plays from the guest yet; ## Super-KB!;
alias EMx='/snap/emacs/current/usr/bin/emacs'; # --version 28.2 2022 … not sure how to install Doom with the snap, so have to ^X^C to eXit;
alias EM=' emacs'; # --version 26.3 2019
alias eM="EM -g '${COLUMNS}x${ROWS}'"; # runs DoomEmacs;
alias e=' eM -nw'; # using -nw for NoNewWindow to run in calling terminal instead of spawning own new graphical window like above just EM;
ulimit -c 65536; # 33,553,920-bytes # setz coredump size limit2 32MB (4Dbugng) wher #-param is *512-byte blox or 'unlimited' canBUsed # /opt/Qt5.13.1-pnp/bin
typeset -U path ;path=($HOME/bin $HOME/.local/bin /usr/local/sbin /usr/sbin /sbin . $HOME/dvl/t8/raku/rakudo-moar-2022.12-01-linux-x86_64-gcc/bin
$HOME/dvl/t8/raku/rakudo-moar-2022.12-01-linux-x86_64-gcc/share/perl6/site/bin $HOME/.cargo/bin $HOME/.emacs.d/bin $HOME/.nodebrew/current/bin
/usr/local/bin /usr/bin /bin /opt/bin $HOME/lib/perl5/bin $HOME/lib/Octology/f8/pal8 $HOME/dvl/t8/dmd/linux/bin $HOME/.vim/bundle/vim-superman/bin $path);
# old:atmptd2nstl DMDv2.052 on Java7OpenJDK && GoogleAndroid-18 (4.2), now J5BMGPOM:tryng2setup l8st NodeJS 4 React_n8ive Expo d8ok nstdof nodebrew hopefully;
# path=($path $HOME/dvl/t8/node $HOME/.nodebrew/current/bin );export path; # I7CMBrew:got GitHub NodeBrew 4NodeJS; Not sure why src doesn't get this?
# path=($path $HOME/dvl/jobz/InnovationProtocol/Android/Android-Google-Linux_x86-SDK-1.6_r1-99GFQiD/tools); # old2009GoogleAndroid dvlpmnt-toolz path
#f [[ -d "$HOME/.rakudobrew/bin" ]]; then # examples prepended Rakudo's bin/ to $PATH but I'd rather append them for now (if bin/ dir is found)
# path=($path $HOME/.rakudobrew/bin $HOME/.rakudobrew/moar-nom/install/share/perl6/site/bin ); # G1NLJQKA:try out RakudoBrew for Perl6
# eval "$($HOME/.rakudobrew/bin/rakudobrew init -)"; fi; fi # this shud lOd RakudoBrew autOmaticly with new shells (Xample said add 2 .profile)
# path=( $HOME/lib/site/PerlBrew/bin $HOME/lib/site/Perlbrew/perls/current/bin $path); # CrAzY PerlBrew wanting2crE8 perl5 in~!
export AUTHOR_TESTING='1'; # export PERLBREW_ROOT="$HOME/lib/site/PerlBrew"; # ... && 2prEpNd th@+/perlbrew/**/bin!
export PERL_LOCAL_LIB_ROOT=" $HOME/lib/perl5";export QT_XCB_DEBUG_XINPUT_DEVICES='1'; # HTTPS://Wiki.Qt.IO/Building_Qt_5_from_Git#Getting_the_source_code
export PERL_MB_OPT="--install_base $HOME/lib/perl5";alias pnp='/opt/Qt5.13.1-pnp/examples/widgets/tools/plugandpaint/plugandpaint &'; # JCKLFIXR:Works well!;
export PERL_MM_OPT=" INSTALL_BASE=$HOME/lib/perl5"; # I know these && path below were slightly different on Ryu, && Aku hasn't even needed lib/perl5;
export CHROME_USER_DATA_DIR="$HOME/.chrome"; # G1NL5XYZ:Used2hv2vim /opt/google/chrome/google-chrome &&nsrt cd /tmp B4 last blok aftrEch upd8;
export LD_LIBRARY_PATH="/usr/local/lib:/usr/local/lib/lua/5.2:/usr/lib:/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH"; #:/opt/Qt5.13.1-pnp/lib"; # JCJLM4LD:Added opt 2C if bilt Qt could run krita AgN;
export LUA_PATH='/usr/local/share/lua/5.2/?.lua;/usr/local/share/lua/5.2/?/init.lua;/usr/local/lib/lua/5.2/?.lua;/usr/local/lib/lua/5.2/?/init.lua;/usr/share/lua/5.2/?.lua;/usr/share/lua/5.2/?/init.lua;./?.lua;./?/init.lua;/home/pip/.luarocks/share/lua/5.2/?.lua;/home/pip/.luarocks/share/lua/5.2/?/init.lua';
export LUA_CPATH='/usr/local/lib/liblua.so;/usr/local/lib/lpeg.so'; #/usr/lib/x86_64-linux-gnu/liblua5.2.so;/usr/local/lib/lua/5.2/?.so;/usr/lib/x86_64-linux-gnu/lua/5.2/?.so;/usr/lib/lua/5.2/?.so;/usr/local/lib/lua/5.2/loadall.so;./?.so;/home/pip/.luarocks/lib/lua/5.2/?.so';
export PKG_CONFIG_PATH="/usr/lib/pkgconfig"; #xport QML_IMPORT_TRACE='1'; # E2LLATsm:PkgCnfgPth Added4SrcHiLite; ## belo aliases may no longer work aftr mvd;
alias vpnp="cd $HOME/.mk/qt5/qt5.13.1/qtbase/examples/widgets/tools/plugandpaint;g8f;cd app;vim *.*;gas"; #thN `gcm $MSG` g8co -b 5.13.1-pnp origin/5.13.1;
alias mpnp="cd $HOME/.mk/qt5/Qt5.13.1-pnp;./config.status -recheck-all;cd qtbase/examples/widgets/tools/plugandpaint;mkcl;mkj;smi;pnp "; # v ed,m mk&&instl
alias vtab="cd $HOME/.mk/qt5/qt5.13.1/qtbase/examples/widgets/widgets/tablet ;g8f; vim *.*;gas";alias tab='qtx'; #thN run ( gcm "`d8`:$CkInMsg" )
alias mtab="cd $HOME/.mk/qt5/Qt5.13.1-pnp;./config.status -recheck-all;cd qtbase/examples/widgets/widgets/tablet ;mkcl;mkj;smi;qtab"; # v ed,m mk&&instl
alias qtab='/opt/Qt5.13.1-pnp/examples/widgets/widgets/tablet/qttablet &'; # ~/dvl/g8/jack/qt5.13.1/qtbase/examples/widgets/widgets/tablet as better 4 pressure
alias qtx=" $HOME/dvl/m8/qtx/qtx &"; # my extracted Qt Tablet eXample executable in the same directory as the source, project, resources, && Makefile
# HTTP://0Pointer.De/blog/projects/serial-console.html describes setting up a custom agetty on a serial TTY with the following commands:
# cp /usr/lib/systemd/system/serial-getty@.service /etc/systemd/system/serial-getty@ttyS2.service
# ec "mk chngz 2 agetty cmnd line"; vi /etc/systemd/system/serial-getty@ttyS2.service ; ec "cud syc enable serial-getty@ttyS2.service nstd of cp"
# ln -s /etc/systemd/system/serial-getty@ttyS2.service /etc/systemd/system/getty.target.wants/ ; syc daemon-reload ; syc start serial-getty@ttyS2.service
alias scdr='syc daemon-reload';alias sycdr='scdr'; # yats BlO shud quik shO tSt dur8ion times && will gNr8 Logz 4 tImngz && try2managNr8d pathz&&symlnx…;
alias pet=" pe '"'$h=$r;$h=~s/(\[)/\\$1/g;$f=S(q(fbBL));s/$h/$f/g;s/(\.{4,})/$B$1$z/g;s/(\.{3})/$C$1$z/g;$Z=S(q(:BDI));
s/\b(\d\d?\d?)\.(\d\d?\d?)\.(\d\d?\d?)\.(\d\d?\d?)(\/)?(\d?\d?)\b/$Z$d8cS[5]$1$O.$d8cS[2]$2$O.$d8cS[3]$3$O.$d8cS[0]$4$Y$5$u$6$z/g;s/(ipv4)/$s$1$z/gi;
$d=$g;$d=~ s/(\[)/\\$1/g;s/$d/S(A)/ge;s/(\d+)(\.)(\d\d)(\d{0}\s?s(econds)?)/$d8cS[7]$1$W$2$d8cS[7]$3$p$4$c/gi;$T=S(q(X));$S=S(q(S));
s/(usr)(:?)/$U$1$o$2$B/g;s/(sys)(:?)/$S$1$P$2$S/g ; s/(\d+)(\.)(\d\d)(\d{3})?(s?(ecs)? )/$d8cS[1]$1$R$2$d8cS[7]$3$P$4$M$5$c/gx; $F=S(q(F));
s/([=()+<>|#]+)/$Y$1$B/g;s/(PASSED )/$G$1$g/gix; s/(\d+)(\.)(\d{2,5})( s )/$d8cS[6]$1$Y$2$d8cS[6]$3$w$4$o/gx;$t=S(q(t));$U=S(q(5));
$s=S(q(:BUILDOK)); s/(Fail\S* )/$F$s$1$z$T/gix; $u=S(q(mkI));$E=S(q(E));$e=S(q(rKI));$L=S(q(LkUA));$v=S(q(vbBC));$l=S(q(Ld:PbBID));$A=S(q(A));
s/\s(Wall|CPU)\s(Time:)/$1 $2/g;s/(-{12})/$G----$C----$B----/g;s/(-{8,11})/$U$1/g;s/([^-])(--)([^-])/$1$z$R$2$B$3/g;s/([^-])(-^)([^-])/$1$u$T$2$u$3/;
s/([.,*%\^]+\s)/$O$1$K/g;s/(C[OP]UN?T?)/$C$1$o/gix;s/(Time )/$T$1$y/gix;s{([^\s/;]*\D[^m])(/)}{$d8cS[5]$1$d8cS[2]$2}g;s{(/)([^\s\e/;]+)}{$1$u$2$z}g;
s/(Startup )/$S$1$m/gix;s/(Events )/$E$1$o/gix;s/(Total)/$W$1$R/gi ;s/(File )/$F$1$M/gix;s/(\s)(job\S*\s*)(\d*)/$1$w$2$G$3$z/gi;
s/(Cleanup )/$R$1$w/gix;s/(Result )/$e$1$p/gix;s/(\*\*+)/$B$1$z/g ;s/(symlinked)( to)?/$S$1$t$2$c/gi;s/(\s)(c(usr|sys)?:?)/$1$C$2/g;
s/(version )/$v$1$g/gix;s/(Linux )/$L$1$O/gix;s/(Perl )/$l$1$m/gix;s/ ok /$z$e$s ${o}o${K}k$v $z$A/gi;s/ok(\s+)(\d\D)/$z${O}O$e${k}K$l$1$o $2$z/gix;
s/([suce]{7})/$s$1$z/gix;s/(Tests? )/$T$1$A/gix;s/(\S+)(\.)(t|p[lm])(\s|$)/$u$1$s$M$2$G$3$z$4/gi;s/\b(net(work)?|addr(ess)?|route)\b/$l$1/gi;
s/\b([0-9a-f]{2}):([0-9a-f]{2}):([0-9a-f]{2}):([0-9a-f]{2}):([0-9a-f]{2}):(\S*)/$R$1$w:$o$2$w:$Y$3$w:$G$4$w:$C$5$w:$B$6$w$M$7$z/g;
s/\b([0-9a-f]{4}):([0-9a-f]{4}):([0-9a-f]{4}):([0-9a-f]{4}):([0-9a-f]{4}):([0-9a-f]{4}):(\S*)
/$d8cS[0]$1$w:$d8cS[1]$2$w:$d8cS[2]$3$w:$d8cS[3]$4$w:$d8cS[4]$5$w:$d8cS[5]$6$w:$d8cS[6]$7$w:$d8cS[7]$8$z/gx;$Z=q( 2du:possible keywordz from ipp 2 colr 2:
brd pci link scope inet6 global dynamic temporary mngtmpaddr noprefixroute (vali|preferre)d_lft qdisc noop state forever gso_max_segs parentdev host qlen
TX RX: bytes packets errors dropped missed mcast carrier collsns lo promiscuity minmtu maxmtu numtxqueues numrxqueues gso_max_size parentbus DOWN mq);
s/ok(\s+)(\d\d \D)/$z${o}o$u${K}k$z$1$y$2$S/gix;s/ok(\s+)(\d\d\d)(\D)/$z${O}O$e${k}K$z$1$G$2$z$A$3/gix;s/(Wall)/$W$1/gi;s/(clock)/$c$1$K/gi;
$q=chr(39);s/($q)(test|short)\1/$C$1$y$2$C$1$g/g;s/(Tag(ged)?)/$T$1$z/gi;s/(Default|Yath|Command|Summary)/$s.S($sb256[int(rand(26))+10]).$1.$z/gie;
s/(:?\s+)([SMTWF][uouehra][neduit]\s+)?([JFMASOND][aepuco][nbrylgptvc]\s+)(\d+\s+)(\d\d?):(\d\d):(\d\d)\s+(\d{4})
/$z$R$1$d8cS[2]$2$d8cS[1]$3$d8cS[2]$4$d8cS[4]$5$w:$d8cS[5]$6$w:$d8cS[6]$7 $d8cS[0]$8$z/gix; # Sun Mar 17 16:00:46 2024?;
s/(\.\.)/$G$1$z/g;'"'";export Hpef='1'; # just set perl pipe exec thru test transl8ionz; Xport Flag for pet filter;
fpt(){if [[ "$Hpef" != "" ]]; then for Hptf in `ls t/*.t`; do pl $Hptf|pet; done;
else for Hptf in `ls t/*.t`; do pl $Hptf ; done; fi; }; # For-loop on Perl-Testz (sinc `pl t/*.t` only runz 1st t);
y8h(){if [[ "$Hpef" != "" ]]; then yath $@|pet; # try2fix dRk g on k YATH -T colr (&& othrz just ad colr plus 4m@),but want2skip .hidn stAgd tStz2sO?;
else yath $@ ; fi; }; # hopefully export Hpef= (MpT) shud cauz y8h 2 run all norm colr out (nstd of thru pet Dflt);
alias yatt='y8h times .last.jsonl';alias y8H='y8h help';export Hyep="--exclude-pattern='/\\.|\\.bak' -T";
alias yatx="yath $Hyep ";alias y8x='fpt;prv;yatx';alias yA='y8x'; # mAB yatx is lIk running: `Hpef= y8h $Hyep` (-L ?) to not filter out thru pet;
alias yats='y8h --durations=.dur8.json --generate-durations-file=.dur8.json --pretty speedtag .last.jsonl';alias prv='prove'; # BlO y8h $Hyep was orig yatx
alias yatl="y8h $Hyep -L;d8=\$(d8);cp .dur8.json .log/$d8.json ;yatt;tmp='had yata yatbcdfgklmnpqrst sepR8d per-?8.pm B4 but just loop letrz nstd Cmz betr;';
mv lastlog.jsonl .last.jsonl;cp .last.jsonl .log/$d8.jsonl;yats;"; # mAB just abcdfp iz gud stRt && wil probably B long tIm B4 tStz get in2 n8 && t8 modulz;
y8a(){ for Hmpl in a b c d ; do pu "$HOME/dvl/$Hmpl"8 >/dev/null;yatl; prv|pet; # '$h=$r;$h=~s/(\[)/\\$1/g;$f=S(q(fb));s/$h/$f/';
for Hptf in `ls t/*.t`; do if [[ "$Hpef" != "" ]]; then pl $Hptf|pet; else pl $Hptf; fi; done; # O42MHTAY:C ~/dvl/a8/t/.bak/bats-O42.u8 4shL;
#if [[ -d t ]]; then cd t; # mAd bAsic raw pl test runz colr filtr thru almOst sAm pe as y8h() abov sO Xtract comon pe 4 bOth thN…;
# if [[ "`ls *.t`" != "" ]]; then pl *.t|pet; fi; fi; #H8shLoModulPrecursorLetr loop && 3wAz2run sAm tStz but mAB justYATH iz betr than prvpl *.t ?;
po >/dev/null;done; }; # 2du:figUrout wher all dRk BLk bLU rED gRN R mAd brIt viz betr 4 all prv && yath rEsultz; nOt:prove or just exec pl *.t ?;
alias at='y8';alias y8='y8a'; # All A8 And AutoAttributez Triple-TesTed TogeTher; # 2du:mk some clEnr 4 .log fIlz of mOstly duplic8 tSt run d8a Only new tIm;
alias sdab='sda blame';alias sda='systemd-analyze';alias slsa='syc list-units --type service --all ';alias jcf='jc -f'; # not SCSI-Disk-A (like in /dev/);
alias sctl='syc';alias pctl='pavucontrol';alias jctl='journalctl';alias actl='alsactl';alias cctl='cdc';alias jcb='jc -b';alias jcp1='jc _PID=1'; #!JesusChrist
alias slts='syc list-unit-files --type=service';alias jc='jctl'; # readd from `d8 G5I` Rticl HTTPS://Linux.Com/tutorials/cleaning-your-linux-startup-process ;
alias sysc=' systemctl';alias syc='sysc '; # systemd control:`syc list-unit-files --type=service|gi (en|dis)able|mask|static`,`syc stop|disable|mask|status`
alias cdc='coredumpctl';alias cdr='cdc -r'; # seg-fault core-dumps, with useful params -r Reverse, -S $DATE Since YYYY-MM-DD date, --no-pager 4 just STDOUT;
alias cds='cdc -S';alias cdS='cds';alias cdsK='cds 2020-01-01'; # shortcuts for doing --since=$DATE && cdsK does since `d8 K11` for everything Year 2020 on;
alias dn='drnm ';alias drnm='dirname '; # to view %ENV in zsh, $IFS NUL requires `set | grep -a` 2 procS bInary as-if --text or `printenv | grep TMP`?;
export TZ='America/Chicago'; # .. which is the same as my /etc/timezone file && maybe CDT -5 at D8FCQgn;
#xport DST='0'; watch=(notme); #export TZ='CST'; # DaylightSavingsTime?; | Coordinated Universal Time (UTC|GMT)
#f [[ "${(L)HOTy}" == cygwin* ]]; then export TZ='PST'; fi; # United States of America / Los Angeles (PST|PDT) | Coordinated Universal Time (UTC|GMT)
# J5FMLoTH:HTTPS://AskUbuntu.Com/questions/359753/gtk-warning-locale-not-supported-by-c-library-when-starting-apps-from-th said case-sensitiv locale stuff BlO;
export LANG='en_US.UTF-8';export LC_ALL="$LANG"; export LC_CTYPE="$LANG";export LANGUAGE="$LANG"; # orig mA hav nEded thEs lang setngz4 urxvt?
export LC_MESSAGES='C.utf8'; # override locale for terminal zsh to global default for messages;
export NCURSES_NO_UTF8_ACS='0'; # N1ML8CUR: set ncurses to not use Alternate CharSet since there's real Unicode box-drawing chars that render in putty fine;
# 82DJ06ZE:instead of abov relying on exported ENV variablez it seemz betr2set /etc/(env.)?d(efault)?/(02)?locale or2use `localedef` probably4mostUsecases?;
#xport TERM='linux'; # find out when explicit TERM assignment has seemed necessary (maybe for vim colors but fixed by .vimrc "set background=dark"?)
export PYTHONPATH='/usr/lib/x86_64-linux-gnu/krita-python-libs/krita'; # nothing set this B4 && krita wantd it,but Xprt here is!enuf;
# `which vim`; #dflt(&&preferred)way2load my *.pm (butTaki shud nstd get i386 path) ## above tried exporting otherwise unused but krita still warnd;
export QT_LINUX_ACCESSIBILITY_ALWAYS_ON='1';export QT_ACCESSIBILITY='1'; # not yet sure what these impact, but making a note intending to find out more l8r;
#xport QT_QPA_PLATFORM_PLUGIN_PATH='/opt/Qt5.13.1-pnp/plugins'; #/usr/lib/x86_64-linux-gnu/qt5/plugins'; # JC9LIke9:fix libqxcb.so to 0x50D01 somehow;
alias krav='QT_QPA_PLATFORM=xcb QT_QPA_VERBOSE=1 QT_SCALE_FACTOR=1.25 krita &'; # /usr/bin/platforms/ -> /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/;
# wayland-org.kde.kwin.qpa , dxcb,eglfs,linuxfb, minimal,minimalegl,offscreen,vnc, wayland,wayland-egl,wayland-xcomposite-egl,wayland-xcomposite-glx,xcb
alias kraw='QT_QPA_PLATFORM=wayland-xcomposite-glx QT_SCALE_FACTOR=1.25 krita &'; # test wayland; Below from HTTPS://Forum.KDE.Org/viewtopic.php?t=151602 ;
alias krit='QT_QPA_PLATFORM=xcb QT_QPA_VERBOSE=1 QT_SCALE_FACTOR=1.2 krita &'; # scales whole Krita interface down a bit to fit my display much more nicely;
alias lddk='ldd -r =krita|cut -d " " -f 1'; # try `QT_DEBUG_PLUGINS=1 krita &` if plugins mAB core-dumping. Also QML_IMPORT_TRACE && QT_QML_DEBUG_NO_WARNING;
#xport GTK_IM_MODULE='uim'; #2uze uim-skk:`em skk-jisyo`;4DfltInptMethd add2~/.uim:(define default-im-name 'skk|anthy|*'); #2fyndIMz:`uim-im-switcher-[gq]tk?`;
#xport QT_IM_MODULE='uim';export XMODIFIERS=@im=uim ; #export CD_ROOT="$HOME/gmz"; #Xportng CD_ROOT=~/gmz was tmp needed2`em quake3`(ioq3);mayb s/uim/scim/g;
export HCAl='--color=always';alias gica='gca -i';
export HCAu='--color=auto' ;
export LS_OPTIONS="$HCAu"; # LsOptz: --color=always|yes|force|never|no|none|auto|tty|if-tty
export CVS_RSH=`which ssh`;export CVSROOT='/var/cvs';
dircolors=`which dircolors`||dircolors=`which gdircolors`;export dircolors;alias drc='dircolors';export COLORFGBG='default;default'; # abov Dfalt CVSRootPath..
if [[ "${(L)HOTy}" == *bsd ]]; then alias ls='gls $LS_OPTIONS' ; # .. does not exist && is pretty obsOlEt now
else alias ls=' ls $LS_OPTIONS' ; fi # load ls/dir color resources...
if [[ -r "$HOME/.lsrc" ]]; then eval $($dircolors -b $HOME/.lsrc); # orig also ck'd 4 m/^~\/\.(ls|dir)_colors$/i beyond .lsrc but I don't think
else eval $($dircolors -b ); fi # I'll need to further support any of those; just init sysdefaults if!.lsrc
# K R 0oO Y G C B M W # a8,c8,f8::pal8 `S` colrz mapd to ANSI SGR wi CSI then 1; then 30+$BlOn;
# 0 1 0;3 3 2 6 4 5 7 # KRoYG CBMW => 01-32 6457 ;
# F1ELGnuL:RoYG CBMp => 1;3[1o32 645p] thEse lInz should evN2LE get gNR8d from `ls /boot`; I98M89I9:rEsortd2XplicitNtrEzB4quStnz sinc wrkin lsd8 but!nrml `ls`;
# NCALK4d8:trIed AgN 2 add *-`d8`: wi ? in diminishng fEldz but it Cmz all XtNsionz must B NtIrly Xplicit now (nO ? @all anymor! =( ) sO rEmovd mOst of thM;
# LS_COLORS="*-E??L????=3;22;31;40:*-E??M????=4;22;31;44:*-I??L????=9;01;36;40:*-I??M????=3;01;36;44;21:$LS_COLORS"; #try2ad.bak/.longXtN-`d8`$/ 2Bgin
# LS_COLORS="*-F??L????=3;22;33;40:*-F??M????=4;22;33;44:*-J??L????=9;01;34;40:*-J??M????=3;01;34;44;21:$LS_COLORS";
# LS_COLORS="$LS_COLORS*-E??L????=3;22;31;40:*-E??M????=4;22;31;44:*-C??L????=9;22;36;40:*-C??M????=3;22;36;44;21:"; #try2ad.bak/.longXtN-`d8`$/ 2Nd
# LS_COLORS="$LS_COLORS*-F??L????=3;22;33;40:*-F??M????=4;22;33;44:*-D??L????=9;22;32;40:*-D??M????=3;22;32;44;21:"; # lFtcolm:E-J rIt:CDK-N
#Quick LUT: 0zNorm 1Bold 2fAint 3Italic 4Underline 5bLink 6blinK 7Reverse 8inVisible 9Crossedout 20Fraktur 21Dblunder 22boldoff 23iFoff 24uoff 25lKoff 27roff
# 28voff 29coff 38/48 XF/xbcolr 39/49 YF/ybdfltcolr 51fraMed 52Encircled 54mEoff 53Overline 55ooff 73Super 74sZub 75sZoff 60-65ideogramz 10-19f0ntz [34]0-7Fb;
# Octology lsd8 does rEad ?? && [LM] 4 15Yrz m@chez && regUlR ls duzn't complAin; # can't put underCurl 4:3 in Bcuz conflictz wi normal colon sepR8or of p@rnz;
LS_COLORS="$LS_COLORS*-A[1-9A-C][1-9A-V][I-P][0-9A-N]???=21;01;32;40:*-B[1-9A-C][1-9A-V][I-P][0-9A-N]???=21;01;34;40:";
LS_COLORS="$LS_COLORS*-C[1-9A-C][1-9A-V][I-P][0-9A-N]???=21;22;36;40:*-D[1-9A-C][1-9A-V][I-P][0-9A-N]???=21;22;32;40:";
LS_COLORS="$LS_COLORS*-E[1-9A-C][1-9A-V][I-P][0-9A-N]???=21;22;35;40:*-F[1-9A-C][1-9A-V][I-P][0-9A-N]???=21;22;31;40:";
LS_COLORS="$LS_COLORS*-G[1-9A-C][1-9A-V][I-P][0-9A-N]???=21;01;32;40:*-H[1-9A-C][1-9A-V][I-P][0-9A-N]???=21;22;35;40:";
LS_COLORS="$LS_COLORS*-I[1-9A-C][1-9A-V][I-P][0-9A-N]???=03;22;37;40:*-J[1-9A-C][1-9A-V][I-P][0-9A-N]???=03;01;37;44:";
LS_COLORS="$LS_COLORS*-K[1-9A-C][1-9A-V][I-P][0-9A-N]???=03;01;30;44:*-L[1-9A-C][1-9A-V][I-P][0-9A-N]???=03;22;35;44:";
LS_COLORS="$LS_COLORS*-M[1-9A-C][1-9A-V][I-P][0-9A-N]???=03;01;35;44:*-N[1-9A-C][1-9A-V][I-P][0-9A-N]???=04;01;31;44:";
LS_COLORS="$LS_COLORS*-O[1-9A-C][1-9A-V][I-P][0-9A-N]???=04;22;33;44:"; # ... l8r -P 2025
LS_COLORS="$LS_COLORS*-interface-security=01;31:*-shim-state=01;36:*.?.=22;36:*.??.=22;34:*.???.=22;30:*.????.=22;32:"; # /run # .?. cbkg prvz
LS_COLORS="$LS_COLORS*.3.=22;34:*.33.=22;30:*.66.=22;34;40:*.0.=22;30:*.O.=22;33;43:*.96.=22;34;42:*.9G.=22;32;44:"; #3nd0tn6Xz # gN96z # .?upd8?
LS_COLORS="$LS_COLORS*.G.=22;44:*.GG.=22;34:*.G9.=22;30;40:*.9.=22;34:*.=22;34:*..=22;30:*...=22;30;44:"; #endotnGXtraz # gN9Gz # .?bbkbkk prv? +nw g
LS_COLORS="$LS_COLORS*.png.=22;35;45:*.Hrc.=22;30:*.ls.=22;34;44:*.log.=22;32:*.kdb.=22;30;40:*.txt.=22;36:"; #smAnXtraz # gNrl # .?mkbgkc prvz m b k
LS_COLORS="$LS_COLORS*.g.=22;35:*.gg.=22;30:*.g6.=22;34;44:*.6.=22;32:*.H.=22;30;40:*.8.=22;36:*.prv8.=22;34:"; #mormAnXtrz#gNg8z# .?mkbgkc prvz +nw b
export LS_COLORS="$LS_COLORS*.serverauth.???=22;32:*.serverauth.????=22;31:*.serverauth.?????=22;35:*.goutputstream-??????=22;31:"; #*.gout*-? duz!wrk4 `ls`;
#xport GREP_COLORS="mt=01;34"; bindkey -v; #`bindkey -e`setzEmacs-stylCmdLynEdtng; -v hazBn betRsofR4mE,butdu!4getEmaxAtaxBax; #rEmMbr"^foo^bar"subst prEv cmd;
export GREP_COLORS="ms=01;04;94:mc=01;02;33:sl=:cx=:fn=01;03;95:ln=01;92:bn=22;33:se=01;96";bindkey -v; #RoYG CBMp=>1o32 645p;RGY BMC;`gis -Hnb`shOFlNmLNumBytN
alias grP="grep -P $HCAl"; # want grep --color=always wi Perl PCRE 2 pIp 2 lS 4 shOing colrz; 4 4mz R: -F(ixdstrz) -G(basicgrep) -E(xtndedp@rnz) -P(erlp@rnz)
alias grp="grep $HCAu"; # want grep --color=auto all za tym2(&&mayB`dircolrz ~/.gprc`?)&&2hv -nubTHZ?fulnSwi:Hedrfylnmz,lyNumZeroUnixTabalyndBytofstz
alias fgrep="fgrep $HCAu"; # ...also fgrep Fixedstr nEdz auto2; it wud B cool 2 mk perl grep from grepp&&sarep 2 auto colr multiple m@chz difrNtly;
alias egrep="egrep $HCAu"; # ...also egrep # UbuTip:"Edit the command line with cut and paste: ctrl-k for cut, and ctrl-y for paste." prolyOnly4Emacs
alias rgrep="rgrep $HCAu"; # ...also rgrep Recursive && above is Extended Expressionz but I'm lIkly 2 prEfer -P Perl PCRE as mOst familiR syntax && BhAvior;
# nOt:pgrep iz a difrNt Utl th@ srchz runing procSz && fIndz IDz bAsd on p@rn pRamz && iz rEl8d 2 pkill && pidwait, sO try not 2 confUz it wi Perl grep -P;
alias gpnt=' grp -nubTH';alias gpnz='gpnt -Z';alias gca="grep $HCAl";alias xa='xargs'; # nd2tSt4nmspc cOlIdz of`gpn?`&&stuD`(perl|xargs) -0`,`(sort|grep)-z`;
alias xapf='xa printf'; # O3GM0vPF;
# O2JLNGn8:HTTPS://YouTu.be/crFZOrqlqao "grep: A Practical Guide" # O1H:0Dr0 of Navek covering how man lsof | grep -- '-a' can use -e end pRamz 2 srch flagz;
# from`man grep`:".*Uzd wiCmdz lyk:`find -print0`,`perl -0`,`sort -z`,&&`xargs -0` 2procRbitrarEfylnamz,EvNthoz contNngNwLnz(azNulTrmN8dCstylStrzNstdOvNwLn).";
# GREP_COLORS="ms=01;31:mc=01;31:sl=:cx=:fn=35:ln=32:bn=32:se=36" wi booleans rv && ne omitted (false). Supported capabilities are as follows:
# sl= SGR substring for whole selected lines (i.e., matching lines when the -v command-line option is omitted,or non-matching lines whN -v is specified).
# If however boolean rv && -v optn R both specified,it applies2 context matching lines instead. The default is empty (i.e., terminal's default color pair).
# cx= SGR substring for whole context lines (i.e., non-matching lines when the -v command-line option is omitted,or matching lines whN -v is specified).
# If however boolean rv && -v optn R both specified,applIz2selected non-matching lines instead. The default is empty (i.e., terminal's default color pair).
# rv Boolean that reverses (swaps) meaning of sl= and cx= when -v optn specified. Default is false (i.e., capability is omitted).
# mt=01;31 SGR substring for matching non-empty text in any matching line (i.e., a selected line when the -v command-line option is omitted, or a context line
# when -v is specified). Setting this is equivalent to setting both ms= and mc= at once to same value. Dflt bold Red text F4grnd over current line bkgrnd.
# ms=01;31 SGR substring for matching non-empty text in a selected line. (This is only used when the -v command-line option is omitted.) The effect of the
# sl= (or cx= if rv) capability remains active when this kicks in. The default is a bold red text foreground over the current line background.
# mc=01;31 SGR substring for matching non-empty text in a context line. (This is only used when the -v command-line option is specified.) The effect of the
# cx= (or sl= if rv) capability remains active when this kicks in.The default is a bold red text foreground over the current line background.
# fn=35 SGR substring for file names prefixing any content line. The default is a magenta text foreground over the terminal's default background.
# ln=32 SGR substring for line numbers prefixing any content line. The default is a green text foreground over the terminal's default background.
# bn=32 SGR substring for byte offsets prefixing any content line. The default is a green text foreground over the terminal's default background.
# se=36 SGR substring for sepR8ors that are inserted between selected line fields (:), between context line fields, (-), and between groups of adjacent
# lines when nonzero context is specified (--). The default is a cyan text foreground over the terminal's default background.
# ne Boolean value that prevents clearing to the end of line using Erase in Line (EL) to Right (\33[K) each time a colorized item ends. This is
# needed on terminals on which EL is not supported. It is otherwise useful on terminals for which the back_color_erase (bce) boolean terminfo capability
# does not apply, when the chosen highlight colors do not affect the background, or when EL is too slow or causes too much flicker. The default is false
# (i.e., the capability is omitted). nOt:bool capabilities have no "=..." part. They are omitted (false) by default && become true when specified;
# OldeBashStylPrmt: PS1='%{[1;33m%}[%{[1;36m%}%n%{[1;37m%}@%{[1;36m%}%m%{[1;31m%}`pt`%{[1;34m%}%~%{[1;33m%}]%{[1;32m%}%(!.#.$) ';
# NewZshStlPmt:export PS1='%{[1;33m%}%[%{[1;36m%}%n%{[1;37m%}@%{[1;36m%}%m%{[1;31m%}`pt`%{[1;34m%}%~%{[1;33m%}]%{[0;33m%}%(!.#.$)%{[1;32m%}';
#xport PS1='%{[1;33m%}%(!.<.[)%{[1;36m%}%n%{[1;37m%}@%{[1;36m%}$HHst%{[1;31m%}`pt -cp`%{[1;34m%}%~%{[1;33m%}%(!.>.])%{[1;32m%}';
#xport PS1='[1;37m%(!.<.[)[1;33m%n[1;34m@[1;35m$HHst`d8 -a`[1;34m`c8fn $PWD`[1;37m%(!.>.])[1;32m'; # aparNtly -z && all %{ %} nEded4CLIwidtcalQl8
#xport PS1='%{[1;37m%}%(!.<.[)%{[1;33m%}%n%{[1;34m%}@%{[1;35m%}$HHst`d8 -z`%{[1;34m%}%~%{[1;37m%}%(!.>.])%{[1;32m%}'; # F1PLEswI:s/%~/c8fn/;
#xport K="\e[01;30m";export R="\e[01;31m";export O="\e[22;33m";export Y="\e[01;33m";export G="\e[01;32m";export z="\e[00m"; # like a8 $SKp0 . 'm'
#xport C="\e[01;36m";export B="\e[01;34m";export M="\e[01;35m";export P="\e[22;35m";export W="\e[01;37m"; # these then should become able to use in Uk etc
#xport K="[01;38;5;247m";export R="[01;38;5;009m";export O="[22;38;5;172m";export Y="[01;38;5;011m";export G="[01;38;5;010m";export z="[00m";
#xport C="[01;38;5;014m";export B="[01;38;5;012m";export M="[22;38;5;013m";export P="[01;38;5;092m";export W="[01;38;5;015m";export Z="[01m";
#xport K="[01;38;5;247m";export W="[01;38;5;015m";export Z="[01m"; # these re-define basic color variables from earlier 1z around line 63 && abit B4;
# 4 super custom Zsh prompt: HTTPS://GitHub.Com/RomKatV/powerlevel10k#features && probably ch GnomTerm font 2 recommended ~/dvl/f8/ttf/**/Menlo*Regular.ttf;
# apparNtly StarShip is a popUlR competitor 2 P10k th@ has many gr8 fE8urz && shud B worth ckngout l8r (@lEst 4 IDaz about how 2 improve my prmpt hEr whNevr);
#export PS1='%{$W%}%(!.<.[)%{$G%}%n%{$z$B%}@%{$C%}$HHst`d8 -z;d8|b10|b93k|b8c`%{$z$B%}`c8fn -z $PWD`%{$W%}%(!.>.])%{$z$G%}';
export PS1='%{$W%}%(!.<.[)%{$G%}%n%{$z$B%}@%{$C%}$HHst`d8 -z`%{$z$B%}`c8fn -z $PWD`%{$W%}%(!.>.])%{$z$G%}';
#xport PS1='%B%F{green}%n@%m%k %B%F{blue}%1~ %# %b%f%k'; # N8DMJ9HI:this seems to be my current zsh prompt;
#xport PS1='%B%F{green}%n@%m%k %B%F{blue}%1~ %{$W%}%(!.<.[)%{$G%}%n%{$z$B%}@ %# %b%f%k'; # green looks yellow;
#xport PS1='%B%F{red}%n@%m%k %B%F{cyan}%1~ %# %b%f%k';
# see if sakura can accept colr varz in prmpt
# it seems that sakura won't bright bold 01;30..37 like other termz but setting prompt with xterm-256color SKp cOdz will work 4 her like it does elsewhere;
#xport PS1='%{[1;37m%}%(!.<.[)%{[1;32m%}%n%{[1;34m%}@%{[1;36m%}$HHst` d8 -z `%{[1;34m%}` c8fn -z $PWD `%{[1;37m%}%(!.>.])%{[1;32m%}';
alias xp="Xp PS1='%{[1;33m%}%(!.<.[)%{[1;36m%}%n%{[1;37m%}@%{[1;36m%}$HHst\`d8 -f|sS z\`%{[1;34m%}%~%{[01;01;01;1;33m%}%(!.>.])%{[1;32m%}'";
alias dp="Xp PS1='%{[1;37m%}%(!.<.[)%{[1;32m%}%n%{[1;34m%}@%{[1;36m%}$HHst\`d8 -z\`%{[1;34m%}\`c8fn -z \$(pwd)\`%{[1;37m%}%(!.>.])%{[1;32m%}'";
# J5IMApwd:Above DefaultPrompt $PWD was not getting upd8d properly like it would for just str8 PS1 assignment, so had to wrap in sub \$(pwd) command 2 work;
#case "$TERM" in xterm*|rxvt*) # if this is an xterm set the title to user@host:dir; J5AMBPS1:shudBcool2mk ps1() set PS1 func wich tAkez dif d8,c8fn,4m@z,etc.;
# PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1";; # also setz windO tItl2 Uzr@hOst:dir; abov R4 Xpanded (-full) && Default Ps1 PromPtz;
# *) ;; esac # similR wA2du BlO is `p h p$PPID o cmd` prntz '/bin/login --' on console&& '/usr/lib/gnome-terminal/gnome-terminal-server' in an X.Org GnomTerm
# From HTTP://StackOverFlow.Com/questions/17814123/determining-the-type-of-terminal-classic-unix-terminal-vs-graphical-terminal it might be better to do:
#parent=$(ps --pid $(ps --pid $$ --no-headers --format ppid) --no-headers --format cmd); # might need2 s/cmd/comm/ 2ch 4m@ prOfIl for result to =~ /^login/
#if [[ $parent == login* ]]; then ... else ... fi to detect a full-screen console login rather than cking for graphical $TERM, although $TTY might be easier?
# I71M8PS1:2du mAB rewrite sp,np,dp 2B ps1 varE8ionz && basicz wi no Perl DpNdNCz to calm warnz,mAB try2zsh regX colr pwd&&gNr8 aprox colrd d8stampz2 4comp@;
export HISTFILE=~/.zsh_history;alias sp="Xp PS1='%(!.<.[)%n@$HHst:\`d8\`:%~%(!.>.])'"; #Prmptz:SimplPrmt||NormlPrmt Uzd2hvBigPrmt2but ch eq2Norm soIrmd;
export HISTSIZE=65536;export BdOn="tput smso";export Bond='BdOn';alias setfp='etfp -s'; #from`man tput`:BoldOn&&Off TermSeQNcz4:`echo "${BdOn}NtrNm:${BdOf}\c"`
export SAVEHIST=65536;export BdOf="tput rmso";export Bofd='BdOf';alias setf='setfont ';alias setf0='setf -o';alias setp='setfp -p'; # mk .?ttyrc 2gN folOing
if [[ "$HUsr" != "root" ]]; then #export PipzTmpC='~/lib/Octology/f8/f0nt/psf'; #fpal -x -l ~/dvl/f8/*/*/font';
# hopefully just these 8 regexes will work the same instead of the tons of old if or from before; TIGS dRkz(red|cyn|mag) RbrItr than Tigz (4 vim st@usln?)
# check for files being executable or existing before invoking; don't want normal pal8 details printed out at shell init so ENV flag 2B Quiet
# 2du:put all pal8 && f0nt file basenames in variables && confirm executable or readable before invoking;
export Hpal8dir="$HOME/lib/Octology/f8/pal8" ; export Hf0ntdir="$HOME/lib/Octology/f8/f0nt/psf" ;
export Hpal8ts1='TIGSfAVS';export Hpal8ts5='sWEET' ; export Hf0ntts1='standrd0';export Hf0ntts5='cALLIGRA';
export Hpal8ts2='sILLY' ;export Hpal8ts6='Bepspurp'; export Hf0ntts2='tEKtItE' ;export Hf0ntts6='FUTURa-1';
export Hpal8ts3='gOOFY' ;export Hpal8ts7='bLUES' ; export Hf0ntts3='mED' ;export Hf0ntts7='ANTIqUE' ;export Hpal8ts0="$Hpal8ts1";
export Hpal8ts4='nICE' ;export Hpal8ts8='yEL' ; export Hf0ntts4='rOMAN3' ;export Hf0ntts8='Modern-2';export Hf0ntts0="$Hf0ntts1";
if [[ $TTY =~ ^/dev/(tty|pts/)(0|65|66|67|68|69|70|71)$ ]] && [[ -x "$Hpal8dir/$Hpal8ts0.pal8" ]]; then export Hpl8="$Hpal8dir/$Hpal8ts0.pal8";
elif [[ $TTY =~ ^/dev/(tty|pts/)(1|9$|17|25|33|41|49|57)$ ]] && [[ -x "$Hpal8dir/$Hpal8ts1.pal8" ]]; then export Hpl8="$Hpal8dir/$Hpal8ts1.pal8";
elif [[ $TTY =~ ^/dev/(tty|pts/)(2|10|18|26|34|42|50|58)$ ]] && [[ -x "$Hpal8dir/$Hpal8ts2.pal8" ]]; then export Hpl8="$Hpal8dir/$Hpal8ts2.pal8";
elif [[ $TTY =~ ^/dev/(tty|pts/)(3|11|19|27|35|43|51|59)$ ]] && [[ -x "$Hpal8dir/$Hpal8ts3.pal8" ]]; then export Hpl8="$Hpal8dir/$Hpal8ts3.pal8";
elif [[ $TTY =~ ^/dev/(tty|pts/)(4|12|20|28|36|44|52|60)$ ]] && [[ -x "$Hpal8dir/$Hpal8ts4.pal8" ]]; then export Hpl8="$Hpal8dir/$Hpal8ts4.pal8";
elif [[ $TTY =~ ^/dev/(tty|pts/)(5|13|21|29|37|45|53|61)$ ]] && [[ -x "$Hpal8dir/$Hpal8ts5.pal8" ]]; then export Hpl8="$Hpal8dir/$Hpal8ts5.pal8";
elif [[ $TTY =~ ^/dev/(tty|pts/)(6|14|22|30|38|46|54|62)$ ]] && [[ -x "$Hpal8dir/$Hpal8ts6.pal8" ]]; then export Hpl8="$Hpal8dir/$Hpal8ts6.pal8";
elif [[ $TTY =~ ^/dev/(tty|pts/)(7|15|23|31|39|47|55|63)$ ]] && [[ -x "$Hpal8dir/$Hpal8ts7.pal8" ]]; then export Hpl8="$Hpal8dir/$Hpal8ts7.pal8";
elif [[ $TTY =~ ^/dev/(tty|pts/)(8|16|24|32|40|48|56|64)$ ]] && [[ -x "$Hpal8dir/$Hpal8ts8.pal8" ]]; then export Hpl8="$Hpal8dir/$Hpal8ts8.pal8"; fi;
# 8 unUsed pal8 fIlz aftr abov: cOOL DARKpRIM dARKZ deepRed Flipped r Tigzfavz t ; ## !sure how2alias just call? note Dflt GnomTerm 0 orig got none;
# K2FL7WHY:only konsole was spewing 16 backslashes when `src` ran to XeQt $Hpal (the f8.pm pal8 file on nXt lIn below) Bcuz it sepR8d charz of OSC ST;
if [[ $TTY =~ ^/dev/(tty|pts/) ]] && [[ -x "$Hpl8" ]]; then export Hpal="$Hpl8";alias src8="$Hpal";Pal8Qiet='1' $Hpal; fi; # goodEnuf wo SKpd bktx?
# J12LEAP8:trying to Xtract pal8 call so mAB new `$Hpal` or alias src8 could just reset proper 8-category term pal8 without src full .zshrc?
if [[ "$DISPLAY" == "" ]] && [[ "$TERM" == "linux" ]]; then # orig had PipzGlobalf8Flag 2!redo but!DISPLAY also4ssh so $TERM"linux"4console
# no more old Gen /dev/vc/\d+ && curNtly only /dev/tty[1-24] (orig1-6) active anyway && old pts/ which was left in to align with above could match
# && fail the IO call when sshing from Chun console to Aku, so replaced it with "tty/", which is now aligned altern8ion which should never match
# maybe setfont betr than setf etfp as proly able 2 handle more PSF varE8ionz l8r? setfont also should work fine below
# couldn't find etfp to set font, nEd altern8ive;
if [[ $TTY =~ ^/dev/(tty|tty/)(0|65|66|67|68|69|70|71)$ ]] && [[ -r "$Hf0ntdir/$Hf0ntts0.psf" ]]; then setf $Hf0ntdir/$Hf0ntts0.psf ;
elif [[ $TTY =~ ^/dev/(tty|tty/)(1|9$|17|25|33|41|49|57)$ ]] && [[ -r "$Hf0ntdir/$Hf0ntts1.psf" ]]; then setf $Hf0ntdir/$Hf0ntts1.psf ;
elif [[ $TTY =~ ^/dev/(tty|tty/)(2|10|18|26|34|42|50|58)$ ]] && [[ -r "$Hf0ntdir/$Hf0ntts2.psf" ]]; then setf $Hf0ntdir/$Hf0ntts2.psf ;
elif [[ $TTY =~ ^/dev/(tty|tty/)(3|11|19|27|35|43|51|59)$ ]] && [[ -r "$Hf0ntdir/$Hf0ntts3.psf" ]]; then setf $Hf0ntdir/$Hf0ntts3.psf ;
elif [[ $TTY =~ ^/dev/(tty|tty/)(4|12|20|28|36|44|52|60)$ ]] && [[ -r "$Hf0ntdir/$Hf0ntts4.psf" ]]; then setf $Hf0ntdir/$Hf0ntts4.psf ;
elif [[ $TTY =~ ^/dev/(tty|tty/)(5|13|21|29|37|45|53|61)$ ]] && [[ -r "$Hf0ntdir/$Hf0ntts5.psf" ]]; then setf $Hf0ntdir/$Hf0ntts5.psf ;
elif [[ $TTY =~ ^/dev/(tty|tty/)(6|14|22|30|38|46|54|62)$ ]] && [[ -r "$Hf0ntdir/$Hf0ntts6.psf" ]]; then setf $Hf0ntdir/$Hf0ntts6.psf ;
elif [[ $TTY =~ ^/dev/(tty|tty/)(7|15|23|31|39|47|55|63)$ ]] && [[ -r "$Hf0ntdir/$Hf0ntts7.psf" ]]; then setf $Hf0ntdir/$Hf0ntts7.psf ;
elif [[ $TTY =~ ^/dev/(tty|tty/)(8|16|24|32|40|48|56|64)$ ]] && [[ -r "$Hf0ntdir/$Hf0ntts8.psf" ]]; then setf $Hf0ntdir/$Hf0ntts8.psf ; fi;
# maybe psf fonts should be set in /etc/init.d/consolechars through /etc/default/console-setup even sooner
# if [[ `which curs` != '' ]]; then curs; fi; # need curs again down here for consoles not to have just default underline
fi; # Ryu was Old until `pmei Curses` or fpal didn't require curses to wrap etfp; RyuOld && Gen used to use the following on /dev/(tty|vc/)\d+:
# 3/15 HyLAS 6/18 mED 9/21 france9 12/24 futura-2 # 3/15 hylas also had etfp A172 F177; mkng 2 brItz dRk proly 4 lowcontrast prym
# 4/16 FRESNo 7/19 cALLIGRA 10/22 ANTIqUE 13 CRAKRjAK # orig filenames were all lowercase since it was prior to .Hrc renaming 4 keyz
# 5/17 ZanZurf 8/20 rOMAN3 11/23 bROADWAY
fi; # ls.*? -1:OnlE1FyLynz($_\n);clasiFy(dir/,symlnk@,exefyl*,etc);QuotRsltnzFylNmz(2sealSpcz&&othrDynabiliTBhynd lit txt);Long(shoXact byte fylsizes);
alias lsQ=' ls -Q ';alias l1=' ls -1';alias lQ1=' lQ -1 ';alias l1Q=' lQ1 ';alias lF1='lF -1';alias l1F='lF1';alias ls1='l1'; #Human readable approx fylsyz;
alias lsF='ls -vF';alias lL=' ls -l';alias lFl=' lF -l';alias llF=' lFl';alias lQl='lQ -l';alias llQ='lQl';alias ll='lFl'; #!?"proly adng 1A|StekSauc"?!;
alias lQF=' lsQF';alias lFQ=' lQF';alias lsQF=' lQ -F';alias lsFQ='lsQF ';alias lsgdf='ls --group-directories-first';alias lsv='ls -v'; #ias lv='lsv -l';
alias lF=' lsF';alias lh=' ll -h';alias lFh=' lh -F';alias lhF=' lFh';alias lfh='lFh';alias lhf='lhF'; #-v in base lsF natural sort of Version numbers
alias lQ=' lsQ ';alias lr=' ls -r';alias lQh=' lh -Q ';alias lhQ=' lQh ';alias lqh='lQh';alias lhq='lhQ'; # rm lsrc BlO&&mk lsrc Utl2gN .lsrc from nw.lrc
alias ll=' ls -lF ';alias lh=' ll -h ';alias l='lsd8';alias lst='lft'; #clasiFy,Long(shoFylBytSyz),Human(rEdablSyz); l was =lh;
alias lsd='echo "trail globz wi *(/) 4just dirz";lf-d '; #ias L='ls -F'; # -CF -w $HWid'; # prepare to make L basic c8fn wrapper of normal ls
alias lca=' l --color=always';alias lC=' lca'; # call lsd8, used 2 call wi -ca thinking was wi special singl flag ther wich toglz color=auto && basically setz
alias lf0=' lca ~/muz/U2b|f8 fR test pad9 fb Wk next fN Rb word pad8 bco=11 fF Gp last'; # it bak 2 color=alwayz lIk it wuzB4; # tSt l wi f0nt && f8 bg undrlA;
alias lf8=' lca ~/muz/U2b|f8 Br test pad9 fm Wk next fr Rb word pad8 bco=12 fc Gp last';alias lF0='lca ~/dvl|f8 tst R sts fm Y ipi Fb:GbBKCUDI pip';
alias lF8=' lca ~/dvl/f8 |f8 pad9 test fm Yb dice fc Pg card Ob pies'; # bcco BigCharColmOfset=-\d+ Fb:GbBUICDO padc=\d+ 2 draw bigchrz @ othr than 8*cndx;
alias LFA=' L -FA ';alias LAV=' LA -v ';alias LA=' L -A ';alias Lfa=' LFA ';alias Lav=' LAV '; # special wrappers 4 non-long curt wide L;
alias lFR=' lF -R ';alias llR=' ll -R ';alias lR=' l -R ';alias lfR=' lFR ';alias lsR=' lfR '; #Recurs subdirz;Rmembr:zsh`**`auto-recursz
alias lFa=' lF -A ';alias lla=' ll -A ';alias la=' l -A ';alias lfa=' lFa ';alias lsa=' lfa '; #Almostall (.*;!./||../)
alias lFb=' lF -B ';alias llb=' ll -B ';alias lb=' l -B ';alias lfb=' lFb ';alias lsb=' lfb ';alias lxr='Lrx'; #omitBakupz(!*~); altrvrsortz
alias lFrs='lF -rS ';alias llrs='ll -rS ';alias lrs='l -rS ';alias lfrs='lFrs';alias lsrs='lfrs';alias lsr='lrs'; #sortbyReversdSize
alias lFrx='lF -rX ';alias llrx='ll -rX ';alias Lrx='l -rX ';alias lfrx='lFrx';alias lsrx='lfrx'; #sortbyReversdXtension #D92MCBuZ:`md lrx`prob
alias lFrc='lF -rct ';alias llrc='ll -rct ';alias Lrc='l -rct ';alias lfrc='lFrc';alias Lsrc='lfrc'; #sortbyReversdChngdTime(frstmodtym)
alias lFc=' lF -ct ';alias llc=' ll -ct ';alias lct='l -ct ';alias lfc=' lFc ';alias lsc=' lfc '; #sortby ChngdTime(lastmodtym)
alias lFx=' lF -X ';alias llx=' ll -X ';alias lx=' l -X ';alias lfx=' lFx ';alias lsx=' lfx '; #sortby Xtension
alias lX='lx';alias llX='llx';alias LX='L -X';alias Lx='LX'; # not yet lexer?;
alias lFs=' lF -S ';alias lls=' ll -S ';alias l-s='l -S ';alias lfs=' lFs ';alias lss=' lfs '; #sortby Size
alias lF-d='lF -d ';alias ll-d='ll -d ';alias l-d='l -d ';alias lf-d='lF-d';alias ls-d='lf-d'; #Dirz; belo shud prolyBfuncz2tst4$1 B4pikng*
alias lFd=' lF-d *(/)';alias lld=' ll-d *(/)';alias lD=' l-d *(/)';alias lfd=' lFd ';alias lsD=' lfd '; # Dirz*(/) Beppu sez:"Do*NOT*alias
alias lFid='lF-d -I=*(/)';alias llid='ll-d -I=*(/)';alias lid='l-d -I=*(/)';alias lfid='lFid';alias lsid='lfid'; #Ignore Dirz(!/) importnt linker`ld`!"
alias lFf=' lF *(.)';alias llf=' ll *(.)';alias lf=' l *(.)';alias lff=' lFf ';alias lsf=' lff '; #normal fylz*(.) Note:symlynx(@)
alias lFif='lF -I=*(.)';alias llif='ll -I=*(.)';alias lif='l -I=*(.)';alias lfif='lFif';alias lsif='lfif'; #Ignore fylz(!.)
FTym=' --full-time';alias llft="ll $FTym ";alias lft="l $FTym ";alias ltym='lft ';alias lftym='lft';alias ltime='lft'; #shoFulTym stampz4LongLstz
alias lass='la |sS';alias las='lass'; # lsd8 list all filez stripped of SKp codez; ## maybe *.* quells warning when including sepR8 '*' with no match?
alias lads='la -d .*|sS';alias lad='lads';alias ls8='ec "Stuv, rXU.: Size time - uaxt vrsn, rvrs Xtns - U!s8 .??.;";lsd8'; # LiSt top7 mMorabl Sort8 optnz;
# Note: While it may fit nicely for now to setup ls8 as a Sort-set echo print before calling my standard: lsd8, might prefer l8r to make ls8 normal widezetc.;
# for some reason, old ea='e a' could shell out2`bak` from ~/dvl/Utl/.bak/ but can't create .bak/ EROR from ~/.arc/Aku_-arc-full-Ubu10.04-D1KD1KD/var/log/apt/
# mAB stRting ./ as root owned (even if not that restrictive 755 permissions) can't find way to ~/ from there? Wrap p[uo] makes sense 2rElEtRgetfromNEwher
ea(){ if [[ `dirs` != '~' ]]; then pushd ~; fi;olde a; # try2quell warning "popd: directory stack empty" && not found pu or po; # loc8r BlO calls wi --Regex
if [[ `dirs` != '~' ]]; then popd ; fi} # Orig: alias ea='pu ~;e a;po'; # loc8r is in findutils-default 4m@ th@ is lIk emacs but . m@chz nwlIn
alias oldE='olde $TTY';alias up=' upd8 ';alias e2='pu ~/dox/2du;e 2;po';alias e3='e 3 ';alias upd8-mime-d8bs='md8';alias larv='laff; ripv';
alias e4=' e 4 ';alias e5=' e 5 ';alias e6=' e 6 ';alias e7='e 7 ';alias e8='pu ~/dox/2du;e 8;po';alias e9='e 9';
alias oldb='oldb $TTY';alias loc8r='loc8 -r ';alias upd8-mdb=' md8 ';alias upd8-md8b='md8';alias update-mime-db='md8';alias lar8='larv; updb';
alias ud=' updb ';alias loc8=' locate';alias mdb-upd8=' md8 ';alias md8b-upd8='md8';alias mime-db-update='md8';alias mdb8=' mdb-upd8';
alias updb=' upd8db ';alias upd8d8ab=' upd8db';alias updtdb='updb ';alias md8b='mdb-upd8';alias md8='update-mime-database -V';alias xi='xinput';
alias rc8=' rc-upd8 ';alias rc-upd8='rc-update';alias etc-upd8='etc-update ';alias etc8='etc-upd8';alias env8='env-upd8';alias env-upd8='env-update';
alias pl8=' pl-upd8 ';alias pl-upd8='plcl ';alias plcl='pl-clnr all';alias pl8c='pl8 ';alias pl8l='pl8 ';alias upd8g='update-grub';
alias lp8=' lp-upd8 ';alias lp-upd8='lpcl ';alias lpcl='pl-clnr libperl';alias lp8c='lp8 ';alias lp8l='lp8 '; # too specialized to go str8 in2
alias pl8a='pl-clnr all';alias pl-clnr='pl-clean ';alias pl-clean='pl-cleaner ';alias pl-cleaner=' perl-cleaner ask '; # Octl ~/bin but mAB s/sloc//?
alias py8=' py-upd8 ';alias py-upd8='py-upd8r ';alias py-upd8r='py-updater ';alias py-updater='python-updater -p -v -v '; # -pretend -VeryVerbose
alias rup=' rustup ';alias rupd='rup update ';alias rupd8='rupd'; # O3IMDrup:mAB shud upd8 2 l8St cargo && rustc? wich R nEded 2 install n8 Gleam Lang;
alias laff=' lafilefixer --justfixit'; # UzflUtlz:glsa-ck -[pf](new|all);rvdp-rbld -ipv;pl-clnr(libperl|all)ask;py-upd8r -pv(-dm)?;lafilefixer --justfixit;
alias glck=' glsa-check -v';alias gcpn='glck -p new';alias gcfn='glck -f new';alias glsack='glck';alias py8d='py8 -dm'; # -disable-manual CHECK flagz
alias rdrb=' revdep-rebuild -v';alias rri='rdrb -i';alias rripvv='rri -pv';alias ripv=' rrip ';alias rrvv='rri -v'; # Ignor-cach,Pretnd-emrg,VeryVerbose?
alias rrip=' rri -p';alias rrk='rdrb -k';alias rriv=' rri -v ';alias rrvip='rri -p';alias rrivv='rrvv '; # && handy ShrtCutz; Keep-cache(rrk)
alias rrkp=' rrk -p';alias rrp='rdrb -p';alias rrkv=' rrk -v ';alias rrvkp='rrk -p';alias rrkvv='rrkv '; #ias rr='rri'; # PretndEmrg(rrp)
alias rrrr='env SEARCH_DIRS="/ -*" SEARCH_DIRS_MASK="/mnt /home" revdep-rebuild -vv -i';alias rrr='rrrr -p'; # RevdepRebuildRoot(3pretend,4Real);
alias upd8i='update-initramfs -u -k all'; # Tryng oibaf drvrz HTTPS://AskUbuntu.Com/questions/1266616/how-can-i-use-amdgpu-instead-of-radeon-drivers-on-20-04 ;
# might want to install HTTPS://GitHub.Com/ggreer/the_silver_searcher with ag awk-grep replacement instead of relying on old familiar apt-get aliases here?
alias am='apt-mark ';alias amh='am hold ';alias amu='am unhold';alias amuh='amu';alias amsh='am showhold ';alias amsi='am showinstall'; # Debian && Ubuntu...
alias amp='am purge';alias ami='am install';alias amr='am remove';alias amrm='amr';alias amsp='am showpurge';alias amsr='am showremove '; # apt Utl shortcutz
alias ak='apt-key ';alias aka='ak add';alias akd='aka - ';alias akad='akd';alias amsa='am showauto ';alias amsm='am showmanual '; # adding Brv && Sig
alias ag='apt-get ';alias agi='ag install';alias agu='ag update';alias aguu='agu;ag upgrade';alias agdu='ag dist-upgrade'; # agdu probably nEdz 2 1st vim edit
alias ac='apt-cache';alias acs='acS ';alias agr='ag remove';alias agrm='agr';alias agar='ag autoremove'; # sources.list, thN aguu B4hand;
alias ai='apt install';alias acsrch='ac search';alias au='apt update';alias auu='au;apt upgrade';alias acsp='ac showpkg';alias agri='ag reinstall'; #shOpkgDtlz
alias apts='apt search';alias asrch='apts';alias aar='apt autoremove';alias ari='apt reinstall '; # alreD /usr/bin/as GNU ASsembler,shud stuD apt over ag 2add;
alias AS='apts ';alias aS='acS ';alias nar=' na autoremove';alias nhi='na history ';alias ncl='na clean';alias nrm='na remove'; # NBMLNala:nstd
alias na='nala ';alias nS='nas ';alias nap=' na autopurge ';alias nau='na upgrade';alias nfe='na fetch';alias np=' na purge '; # of apt(-get);
alias ni=' na install';alias nasrch='na search';alias nu=' na update';alias nuu='na upgrade';alias nsh='na show ';alias nls='na list';alias nas='nasrch';
alias nhe='na --help ';alias nhiu='nhi undo';alias nh='nhi';alias nr='nrm'; # 2du:add more nala sub-optn aliasez l8r; rEplAcd -(halt|reboot)Now;
alias nlu='nls --upgradable ';alias goe='g -o export ~/.zshrc|wc -l '; # UbuntuPro 4 up 2 5machines: `sudo pro attach C143gkd7g12gV8R9JkH2WCgcbJoZ8v`;
alias d6='en " 666+T=gc6 L8AMNION "';alias 666='g alias ~/.zshrc|wc -l ';alias gc6='g -c alias ~/.zshrc'; # -Count; 666 lInzHaz:28 2ManyNow; 1384vs.1391;
alias da='en "1333+r=goa L8AM1333/2"';alias goa='g -o alias ~/.zshrc|wc -l '; # -Onlym@ch;gca is alreD --color=auto sO abov nEded z but!goa; clOse2 8.utf^8wc;
alias a6='en "goe: ";goe;en "da :";da;ec ";";en "goa:";goa;en "d6 :";d6;ec ";";en "666: ";666;en "gc6: ";gc6'; # L8AMLIAS:a6 countz exportz&&aliasz4 .zsh* hEr;
alias ali=' apt list --installed';alias dli='dpkg -l'; # super basic commandz to use Apt or Dpkg(-query)? to List Installed packagez on Ubuntu or
alias alim="aptitude search '~i!~M' ";alias agiy='agi -y'; # shud just List pkgz wich were Instld Manually (!as DpNdNCz); /var/lib/apt/extended_states 2?
alias calg="(zc \$(ls -tr /var/log/apt/history.log*.gz);cat /var/log/apt/history.log) 2>/dev/null|eg '^(Start-Date:|Commandline:)'|gv aptdaemon|
eg -B1 '^Commandline:'";alias almi='apt list --manual-installed'; # CatAptLogz in2Grepz shOz instl d8z reversed; # O2ILH8a6:goe 342 goa 1690 abov;
alias dgsc="dpkg -l|g ^ii|sed 's_ _\t_g'|cut -f 2 > ~/.tmp/InstalledPkgz-\`d8\`.ls";alias agip='agiy $(< ~/.tmp/InstalledPkgz-*.ls)'; # mIt nEd SKpd bkslsh?;
# HTTPS://AskUbuntu.Com/questions/17823/how-to-list-all-installed-packages forum thread has 23 extensive answers with varying ways to go about logging instlz;
# nap autopurge Autopurge unneeded pkgz ; # np purge Purge pkgz ; # nas search Search pkgnAmz&&Dscriptnz; # na nala nstd of apt?;
# nar autoremove Autoremove unneeded pkgz ; # nrm remove Remove pkgz ; # nsh show Show pkg DtAlz ; # nls list pkgzbAsdon pkgnAmz;
# ncl clean Clear dnlOded pkgfIlzofflOclRchIv; # nhi history Show transaction hist; # nu update Update pkg list ; # nS nas nasrch;
# nfe fetch Fetch fast mirrors 2 sPdup dnlOdz; # ni install Install pkgz ; # nau upgrade Upd8&& upgrade systM; # nuu nau upgrade;
alias dC='dconf ';alias dcl='dC list';alias dcw='dC write';alias dcd='dC dump';alias dcc='dC compile';alias dcR='dC reset';alias dcr='dC read ';
alias dH='dC help ';alias dcL='dC load';alias dcW='dC watch';alias dcdgt='dcd /org/gnome/terminal/legacy/profiles:/ ';alias dcu='dC update';
alias GS='gsettings';alias gsg='GS get';alias gsls='GS list-schemas ';alias gslk='GS list-keys';alias gslrs='GS list-relocatable-schemas';alias gse='GS';
alias GH='GS help ';alias gss='GS set';alias gslr='GS list-recursively';alias gslc='GS list-children ';alias gsR='GS reset';alias gsr='GS range ';
alias gsm='GS monitor';alias gset='gse ';alias gsw=' GS writable ';alias gsd=' GS describe ';alias gsRR='GS reset-recursively';alias gsrr='gsRR';
alias dch='dH';alias gsgtl='gsg org.gnome.Terminal.ProfilesList list '; # HTTPS://Wiki.Gnome.Org/Apps/Terminal/FAQ#How_can_I_change_a_profile_setting_...
alias gsh='GH';alias gsgtd='gsg org.gnome.Terminal.ProfilesList default '; # ...from_the_command_line.3F had info about using gsettings like these 4 profz;
alias gsgL=' gsg com.canonical.Unity.Launcher favorites '; # from HTTPS://Help.Ubuntu.Com/community/UnityLaunchersAndDesktopFiles outputs on:
# K2LLCLau: ['unity://running-apps', 'application://org.gnome.Terminal.desktop', 'application://sakura.desktop', 'application://brave-browser.desktop',
# 'application://firefox.desktop', 'application://krita.desktop', 'application://gimp.desktop', 'application://inkscape.desktop',
# 'application://fontforge.desktop', 'application://audacity.desktop', 'application://update-manager.desktop', 'application://ccsm.desktop',
# 'unity://expo-icon', 'unity://devices', 'application://org.gnome.Nautilus.desktop']; # where .desktop files could be in (/usr|~/.local)/share/ap*;
alias emrg='emerge';alias em='emrga';alias es='ems'; #alias em='emu'; # fav emrg dfaltz:--colmz -va --kp-go -Du (+-N 4sys|wrld)
alias emcol='emerge --columns -v'; #ias eM='em -v'; # --columns vert-alinz pkg-name,vers,use-flagz (-v == --verbose )
alias emrga=' emcol -a';alias emrge=' emrga -e'; # --ask (-e == --emptytree ) (eg,wrld4UsrModeLnux)
alias emrgk='emrga --keep-going';alias eN='emrgd -N'; # --ask --keep-going was my preferred emrg dflt optz (-i == --info )
alias emrgd=' emrgD ';alias emrgD=' emrgk -D'; # --ask --keep-going --Deep => -aD --kp-go (-d == --debug )
alias emrgu=' emrgD -u';alias emrg1=' emrga -1'; # --ask --keep-going --Deep --update => -auD --kp-go (-1 == --oneshot [+-a])
alias emrgsys=' eN @system';alias emrgwrld='eN @world'; # --ask --keep-going --Deep --update => -auD--k-g--Newuse sys && wrld
alias emrgn=' emrga -n';alias emrgN=' emrga -N'; # --ask --noreplace (-N == --Newuse [+-a])
alias emrgo=' emrga -o';alias emrgO=' emrga -O'; # --ask --onlydeps (-O == --nOdeps [+-a])
alias emrgs=' emcol -s';alias emrgS=' emcol -S'; # --search (-S == --Searchdesc )
alias emrgp=' emcol -p';alias emrgP=' emrga -P'; # --pretend (-P == --Prune [+-a])
alias emrgc=' emcol -c';alias emrgC=' emrga -C'; # --depclean (strongly prefr -c,don't use risky -C ) (-C == --unmerge [+-a])
alias eU='emrgd -U';alias eUsys='eU @system';alias eUwrld='eU @world'; # --changed-use (similar to -N Newuse but only whether use flagz changed by user)
alias eD='emrgd ';alias eNsys='eN @system';alias eNwrld='eN @world'; # --newuse in similar form to eU above, remember 2 'eD --depclean' aftr sys|wrld;
alias edc='eD --depclean';alias eds='em --deselect';alias eUbdcg='eU --with-bdeps=y --complete-graph';alias eUbcw='eUbdcg @world'; # revdep-rebuild too;
alias emrgsync=' emerge --sync'; #... && othr useful utlz:glsa-ck -[pf] (new|all);revdep-rebld -ipv;perl-clnr (libperl|all) ask;python-upd8r -pv (-dm)?;
alias emrgupd8=' emrgsync; glsa-check -f new; emrgsys; upd8db' # maybe this should be a nightly||weekly upd8 task scheduled b4 upd8db via cron(&&wo -ask)
alias ema='emrga';alias eme='emrge';alias emu=' emrgu';alias em1=' emrg1 ';alias emo=' emrgo ';alias emO=' emrgO ';alias emc='emrgc'; # wi-bdeps=y?;
alias emd='emD ';alias emk='emrgk';alias emsys='eUsys';alias emwrld='eUwrld';alias emsync='emrgsync';alias emupd8='emrgupd8';alias emC='emrgC';
alias emD='emrgD';alias emn='emrgn';alias emN=' emrgN';alias ems=' emrgs ';alias emS=' emrgS ';alias emp=' emrgp ';alias emP='emrgP';
alias ChRootGen2LiveCD='mount /dev/sda3 /mnt/gentoo;mount /dev/sda1 /mnt/gentoo/boot;mount -t proc none /mnt/gentoo/proc;mount -o bind /dev /mnt/gentoo/dev;chroot /mnt/gentoo /bin/bash;env-update;source /etc/profile;export PS1="(ChRoot)$PS1"'; # A85MAfWf:tryng 2 get Akuma 2boot wi anythng othr than GenKrnlz is pain!
alias mknwkrnl='MkNwKrnl';alias mkmnucfg='mkMnuCfg ';alias mkMnuCfg='mk menuconfig';alias mkModIns=' mk modules_install ';alias mkmodins='mkModIns';
alias MkNwKrnl='echo "em gen2-srcz;/usr/src/linux;mkMnuCfg;mk;mkModIns;bak.cfg;cp arch/x86_64/boot/bzImage /boot;cpS.map2/boot/smap;cnfGRUB;reboot"';
#En= [nN] -a[nN] #-ask-noreplace(|Newuse) #Esync= --sync #&&helpfulUtlz:glsa-ck -[pf] (new|all);revdep-rebld -vv;perl-clnr (libperl|all) ask`
#ED= [Dd] -an[Dd] #-ask-noreplc-Deep(|debug) #ESorW=auD system|world#-ask-update-Deep(Sys|Wrld)
#Ei=v[i1] -av1?--info?#-ask-verbose-info(|oneshot)#Eupd8= --sync;glsa-check -f new;emerge -uD system;updatedb' # cron.(night|week)ly upd8 task2go b4upd8db?
#Eo= [oO] -a[oO] #-ask-onlydeps(|nOdeps) #Es= [sS] -[sS] #-search(deSc) #Ee= e -ae #-ask-emptytree(eg,wrld4UsrModeLnux)
#Ec= [cC] -[cC] #-clean(|Clip|Cut|ChopUMrg!)#Ep= [pP] -[pP] #-pretend(|Prune!) -vp --depclean best2dpndntlyAware rmPkgz(prtndng1st)
alias vimuse='vim /usr/portage/profiles/use.desc /etc/make.conf /usr/portage/profiles/use.local.desc /etc/portage/package.use /etc/portage/package.keywords';
alias vimUz=' vimuse /etc/portage/package.*mask /etc/portage/color.map';
#lias scp='noglob scp'; # still want to glob locally so just intentionally escape remote globs wi \* etc; #Rot13perLyn:`vim $fyl`Vg?; # hn=hostname; hn != hH ;
alias ..='cd .. ';alias cdup='..';alias cd..='.. ';alias SSH='sH';alias SSR='sR'; #ias nh='hN';alias nr='rN';
alias ...='cd ../.. ';alias cd...='... '; # mItBAbl2Uz -c wi && aftr sz zsh 2run rmSS as sngl cmd?;
alias ....='cd ../../.. ';alias cd....='.... '; # 4 `sz` BlO fIl is Only rEmovd aftr `x` logz mE out thO;
alias .....='cd ../../../.. ';alias cd.....='..... '; # so ReMove.SudoSuccessful fIl aftr most callz2 sudo BlO;
alias ......='cd ../../../../.. ';alias cd......='...... '; # aftr tryng2cmpIl new ~/dvl/m8/sudo tryng this now nstd:
alias .......='cd ../../../../../.. ';alias cd.......='....... ';alias rmSS="rm -f $HOME/.sudo_as_admin_successful";
alias ........='cd ../../../../../../.. ';alias cd........='........ '; # folOng R my mAn supr-ters aliasz 4 per4mng almOst ...
alias .........='cd ../../../../../../../.. ';alias cd.........='......... '; # ... evry core GNU/Linux sys Utl (&& some clasic DOS)
alias ..........='cd ../../../../../../../../.. ';alias cd..........='.......... '; alias mktst=' mtst';alias mkj=' mkjG ';
alias ...........='cd ../../../../../../../../../.. ';alias cd...........='........... '; alias mtst='mk test';alias mkjg='mkjG ';
alias ............='cd ../../../../../../../../../../.. ';alias cd............='............ '; alias mkck='mk check';alias mkjG='mk -j16';
alias .............='cd ../../../../../../../../../../../..';alias cd.............='.............'; alias mkcl='mk clean';alias mkj8='mk -j8 ';
alias mk=' make';alias mki='mk install';alias mi='mkin';alias smi='sudo make install;rmSS';alias smki='smi';alias mkin='mki';alias mkj4='mk -j4 ';
cmk () { CMLT=0; if [[ -e cml ]]; then mv cml CMakeLists.txt; CMLT=1; fi; # MB9LMkCM:setup cmake function to auto-compile SDL2_Tutorial projects;
if [[ -e CMakeLists.txt && $# -eq 0 ]]; then cmake CMakeLists.txt; # This also works on a 'cml' file which might need Link_Directories();
if [[ -e Makefile ]]; then make; fi; else cmake $@; fi; if [[ "$CMLT" == "1" ]]; then mv CMakeLists.txt cml; CMLT=0; fi; }
export sd='sudo ';export SD='shutdown';export Sh="$SD -h ";export SH="$Sh";export sH="$sd$SH";export Hn="$SH$NR";export HN="$Hn";export hN="$sH$NR";
export sD="$sd$SD ";export NR='now;rmSS';export Sr="$SD -r ";export SR="$Sr";export sR="$sd$SR";export Rn="$SR$NR";export RN="$Rn";export rN="$sR$NR";
export hH="$hN";export nh="$hN";alias Sd="$sd";alias SD="$SD";alias Sh="$Sh";alias SH='Sh';alias sH="$sH";alias Hn="$Hn";alias HN='Hn';alias hN="$hN";
export rn="$rN";export nr="$rN";alias sD="$sD";alias SS="$hN";alias Sr="$Sr";alias SR='Sr';alias sR="$sR";alias Rn="$Rn";alias RN='Rn';alias rN="$rN";
alias sz="$sd -E zsh;rmSS";alias rn='rN ';alias SSHN='hN';alias SN='RN'; # EmergNC!!! Sudo Shutdown or Reboot *now*!!! # N52MLiSZ:/usr/bin/[rs]z use ZModem 2
alias pu=' pushd';alias ua='un ';alias SSRN='rN';alias sN='rN'; # aliasz4aftr`sz`whNIcanw8 1min4shutdn||rEbt; # du fIl transfrz && mAB nEd !my sz;
alias po=' popd';alias una='un -a ';alias sus='sudo -E -s zsh'; # -c "rm $HOME/.sudo_as_admin_successful"'; # abrEV8nz 4 sys-info which call un();
alias unr='un -r '; # this shud probably B just curNtly runing krnl version number (eg, 5.15.0-91-generic) && my MpT un|ua callz -a;
alias epc=' ep|b8clr'; #d8 e|cma!=epoc # rEgRdng sudo abov cannot run both -Intractiv && -Shell optz; # d8 e>epoc by~3.56528hourz 13Ksecz sOmABclOs2UTC?;
alias epoc=" pab 'o8(cma($HTHi::time))'"; # alias 2 output non-colrd epoch float secz from Perl Time::HiRes wi cma int KMGT sepR8orz; epoc==`date +%s`;
alias ep=" pab '\$t6=b64($HTHi::time);\$t6=~s/(%....).+\$/\$1/;o8(coma(\$t6))'"; # alias 2 gNr8 b64 trunc8d coma'd epoch float secondz && abov colrz;
# PerlMaven DscrIbz how -e executez cmd-lIn strng but -E Enablez all l8st fE8urez (lIk say && betr UniCode), -n wrapz -E strng in while(<>){ && } with -p just
# -n looped with print $_ aftr Each iter8ion, && -i modifiez a supplId fIl in-place, so: `perl -ipE 's/badcode/foobarz/' file.txt` would rEplAc on evry lIn;
# `pdoc perlrun` suggests I mIt not want -CS on all thEs BlO (as perhaps othr optnz R betr, but mOst worried it will inhibit handling bInary d8a lIk f8 .psf?):
# As of Perl v5.8.1, -C can B folOd Ether by number or list of optn letrz. Letrz, numeric valUz, && Efects R as folOz; listng letrz is Equal2 summing numberz.
# I 1 STDIN is assumed to be in UTF-8; # i 8 UTF-8 is the default PerlIO layer for input streams ;
# O 2 STDOUT will be in UTF-8; # o 16 UTF-8 is the default PerlIO layer for output streams ;
# E 4 STDERR will be in UTF-8; # A 32 the @ARGV elements are expected to be strings encoded in UTF-8; # SDL 95 ?;tSt wi bIn d8a;
# S 7 I + O + E ; # D 24 i + o; # 2du:mAB Iwant -CSDL nstd?(but mAstil nEd2disAbl somtImz4 bInary-d8a,if UTF8 conflictz?);
# L 64 normaly "IOEioA" R unconditional,but L mkz thM conditional on lOcale NvIronmNt variablz: LC_ALL, LC_CTYPE, && LANG (in ordr of DcrEsing precedNc)…
# a 256 Set ${^UTF8CACHE} to -1,to run UTF-8 caching code in Dbuging mOde;…(morDtailz4 L abov: -- if variablz indic8 UTF-8,thN sLectd "IOEioA" R in Efect;
#lias pla=" pl -M$HOa8 -M$HTHi -CS -E"; # ... but may need function to include "binmode STDOUT,':utf8'" somehow?
alias plb=" pl -M$HOb8 -M$HTHi -CS -E"; # `m perlrun` described -CS as indic8ing UTF-8 for all 3 of STD(IN|OUT|ERR)
alias pld=" pl -M$HOd8 -CS -E"; # mAB shud mk plc 4 c8.pm && plf 4 f8.pm && plk 4 k8.pm etc.?; 2du:figUrout Y `d8 e` iz ~13K > epoc;
alias pab=" pl -M$HOa8 -M$HOb8 -M$HTHi -CS -E"; # `pab "binmode STDOUT,':utf8';print b256(calQ('15xx63'))"` gets rid of ...
alias pad=" pl -M$HOa8 -M$HOd8 -CS -E";alias pa='pabd'; # pb was already taken by pingb && pa can be all of a8,b8,d8;
alias pabd=" pl -M$HOa8 -M$HOb8 -M$HOd8 -CS -E"; # ... the warning about "Wide character in print at -e line 1."
alias pea=" pl -M$HOa8 -CS -pE"; # tried to add -Mutf8 to aliases but may need some more specific flag?
alias peb=" pl -M$HOa8 -M$HOb8 -CS -pE"; # -CSDL is the same as just -C && gets all the STDz && i/o && @ARGV
alias ped=" pl -M$HOa8 -M$HOd8 -CS -pE";alias pe='pead'; # mAnly just want 2 Uz pa 4 1lInr cOd && pe 4 pIpngin&&filtrng;
alias pead=" pl -M$HOa8 -M$HOb8 -M$HOd8 -CS -pE";alias pep='pea';alias t2='t1 2';alias t3='t1 3';alias t4='t1 4'; # 3 && 4 R!yet;
alias t1=' pla "o8(t1(@ARGV))"';alias pat1='t1' ; # shO rEslts from a8 tStng wich 1-letr sKlRz it DfInd&&Xportz thN wich varz R frE(undF)2BUzd sepR8ly;
alias qc="pe 's/0+\$// if s/(\\.\\d{63}).+/\$1/'" ;alias b8cz='b2cz'; # alias b8ls='b2ls;ec'; # O1JLFUc8:shud trunc8+strip trAlng Zr0z lIk c8:`q 1/3|qc`;
alias b8ls="pla 'o8(d8c(join(qq( ),@sb256[0..63])). qq(\\n). d8c(join(qq( ),@sb256[64..127])). qq(\\n). d8c(join(qq( ),@sb256[128..191])). qq(\\n). d8c(join(qq( ),@sb256[192..255])))'"; # print 4 strIpd-spAcd d8-colrd lInez of 64 charz!;
alias b2ls="pla 'o8(d8c(join(qq(),@sb256[0..127])). qq(\\n). d8c(join(qq(),@sb256[128..255])))'"; # print 2 d8-colrd lInez of128 base256 charz (just a8.pm?);
alias b2cz="pa 'for(0..3){for my \$bn(0..63){\$ln.=b256(\$_ *64+\$bn)} o9(d8c(\$ln));\$ln=q()}'"; # print 4 d8-colrd lInez of 64 base256 charz 2 C thM alInd;
# abov tStng pa (pl all [abd]8) mAnly wi d8 dur8(ionz),but try -MTime::HiRes time too,to get fractnz2,alsO fix dur8 colr in d8c ordr but shud B dur8c nstd,
# && alsO try Uzng just a8.pm && just join('',@sb256) && tSt $ENV{COLUMNS};
pewh() { wh $@ | pe 's/;/$W;$y/g;s/-/$C-$y/g;s/:/\t$R/;s/:/$B:$Y/g;s/^/$G/;s/ +/ /;s/ to /$o to$Y /;s/\|/$M|$O/g;s/=/$B=$C/'; } # xmpl pRamz2 pe colr;
alias pad8="pa '\$ts=time;sub Od8n{return($HOd8->new(@_));};\$ds=Od8n();o8(qq(\${G}stRt:).\$ds->colr(q(a)).qq(\$G:\$ts:\$^T;\\n));aw8(q(D8));\$tm=time;
\$dm=Od8n();o8(q(midl:).\$dm->colr(q(a)).qq(\$G:\$tm:\${M}D\${p}8\$Y:aw8dur8\$G;\\n));\$dw=$HOd8::dur8->new(q(8D));\$dw->w8();\$te=time;\$de=Od8n();
o8(q(Nd8e:).\$de->colr(q(a)).qq(\$W:\$te:).\$dw->colr(q(a)).qq(\$C: w8dur8\$G;\\n));'"; # shud tAk about ~22secs 2 run; cudB betr az shL func&&!nEdblquOtz?;
# PerlDoc PipeExec PipeLess was orig called pelS, thN pdel B4 tAkng Ovr pdoc 4 colrng perldoc output thru less (2 hopefully look nIce lIk man pAgz in most);
# NAJMGYTB:running t1 just now said a8 (after d8bo RoYGCBMp && YGTBUDSN) leaves 20 undef for single use:ef hij l q v x A EF HIJ L Q V X Z;
# abs, alarm, chomp, chop, chr, chroot, cos, defined, eval, evalbytes, exp, fc, glob, hex, int, lc, lcfirst, length, log, lstat, mkdir, oct, ord,
# pos, print, printf, quotemeta, readlink, readpipe, ref, require, reverse, rmdir, say, sin, split, sqrt, stat, study, uc, ucfirst, unlink, unpack... ;
# 2du:stor sepR8 list of Perl keywordz && othr comon syntax LMNtz 4 Use hEr && simLR nEdz Lswher,loop thru $@ && skip -flagkeyz && valUz 2 get topic in $DT,
# lern wut $/ iz && does 4 how 2 Uz OSC 6n getcursoryx mAB,export $DT mAB as HPDT 8shel "H" PerlDocTopic 2 rElOd if nO pRam givN (lIk v vim && m man du);
pdoc() { if [[ $# -gt 0 ]]; then DT="$1"; else DT='perldoc'; fi; # DocTopic; 4 longSt tIm I didn't rEalIz th@ `pe` runs cOde on evry lIn pIped thru! woops;
pD -T $@ | pe "\$pR=$DT;"'$LG=S("La:GbBID");$LP=S("L:PBIO");$F=S("FbI");s/(^|\s)/$1$R/g if(/^[A-Z]+/);
s/\b(\w+)(::)/$c$1$T$2$c/g; # had 2 B put B4 nXt pR(am) module name 4 Text::Diff::Config that stripped SKpz leaving overlapping long colr code d8a;
s/(\s+)/$1$C/g if(s/^(\s{4})($pR\s+)(-)(\s+)/$1$LG$W$2$o$3$z$4/i);s/($pR)([^:])/$LG$1$z$2/gi;s/(\D[^m])(Perl)\b/$1$LP$2$z/gi;
s/\b(if|elsif|else|die|new|use|my|not|while|defined|length|unless)\b/$Y$1$z/g; # sub-hedrz wi Only 2spAcz,mAin paragraphz wi 4spAcz,indNtz 8 && 9 BlO;
$Hb=S("HbbI");s/(\s+)/$1$Hb/g if(/^ \S/ );s/(\|)(\w+)(\s|$)/$1$F$w$2$z$3/;s/(\w+)(\|)/$F$w$1$W$2$w/g;
$Gb=S("A:Gb");s/(\s+)/$1$Gb/g if(/^ \S/ );s/(\s|\[)(-[A-Z])(\s[-A-Z0-9:_]+)?(\])?(\s|$)/$c$1$B$2$Gb$3$c$4$t$5/gi;
$cB=S("A:cB");s/(\s+)/$cB$1/g if(/^ \S/ );
$ti=S("D:ti");s/(\s+)/$ti$1/g if(/^ \S/);
s/(\s|[^-\d])([A-Z_][A-Z0-9]*_[A-Z_0-9]+)\b/$1$o$2$z/g;
s/(\s|[^-\d])([a-z_][a-z0-9]*_[a-z_0-9]+)\b/$1$Y$2$z/g;s/(" )([^" ]+? \s?[^" ]*?)( " )/$p$1$M$2$p$3$z/gx; # intrlEvd sngl&&dbl-quOtzBlO2get singlz4regX;
s/([*])([^*]{1,32})(\1)/$r$1$C$2$r$3$z/g; s/(['"'])([^' ]+?\\s?[^' ]*?)(['"'])/$p$1$m$2$p$3$z/gx;s/([^m])(\{|\})/$1$W$2$z/g;
s/(\()([^\)]{1,32})(\))/$O$1$B$2$O$3$z/g; # s/\b([a-z_]+)(\()([^\)]{0,32})(\))/$G$1$O$2$M$3$O$4$z/g;
s/\b(\$)([A-Z][0-9A-Z_]+)\b/$S$1$C$2$z/gi;$Ab=S("AbBI");s/(\s)([0-9A-Z_]+)(;)/$1$Ab$2$z$w$3$z/gi;s/(-[A-Z])(\s|\.)/$o$1$z$2/gi;
s/(\b|\d+m)(Yes)\b/$1$G$2$z/gi ;s/([-]{3,})/$c$1$z/g;my $U=S("A:U");s/^( )(\*)( \s+)(\S)/$1$U$z$3$w$4/g;
s/(\b|\d+m)(No )\b/$1$F$2$z/gix;s/([.]{3,})/$W$1$z/g;s/([^\e])(\[|\])([^-\e])/$1$T$2$z$3/g;' | lS; } # lookz quIte nIce sO finished 4 now;
alias pdf8='pdoc Font::TTF::Manual'; # to hopefully learn how to gNr8 .f0x f8 fIlz into .tf0x into .ttf (but there's many 4-letr tAblz 2 lern how 2 manipul8);
alias ra=' raku';alias rk='raku';alias ru='raku'; # should probably give each of these some good default flag options to make short && easy to use;
# abov loox bood in 80x25 term with cmnd to show xpandng many aliasz like this: `pewh ag agu aguu au auu agr agar aar ai ac acs h H D T Q N n grp psag pl pe` ;
alias b102='en " 0 000";b8 0 10 2;ec;en " 1 000";b8 1 10 2;ec;en " 2 00" ;b8 2 10 2;ec;en " 3 00" ;b8 3 10 2;ec;
en " 4 0" ;b8 4 10 2;ec;en " 5 0" ;b8 5 10 2;ec;en " 6 0" ;b8 6 10 2;ec;en " 7 0" ;b8 7 10 2;ec;
en " 8 " ;b8 8 10 2;ec;en " 9 " ;b8 9 10 2;ec;en "10 " ;b8 10 10 2;ec;en "11 " ;b8 11 10 2;ec;
en "12 " ;b8 12 10 2;ec;en "13 " ;b8 13 10 2;ec;en "14 " ;b8 14 10 2;ec;en "15 " ;b8 15 10 2;'; # echo alignd b8z; 2du:l8r 4loop nstd;
alias ba=' bA'; bA() { if [[ "$1" == "" ]]; then unset MX; fi; # 2du:add 93k;
MX="$1" pa '$wd=$ENV{"COLUMNS"} // 160;$mx = 255;$mx=$ENV{"MX"} if(exists($ENV{"MX"}) && length($ENV{"MX"}));$ml=length("$mx");$ls=0;
@tz=(2,16,64,128,256);
$cs=$ml+2;for(@tz){$cs+=length(cnv10__($mx,$_))+1;}
for(0..$mx){o8(sprintf("%${ml}d:",$_));for $tb(@tz){
$b8=cnv10__($_,$tb);$bl=length(cnv10__($mx,$tb));o8(sprintf("%${bl}s ",$b8)); # figure out why b8 2 b64 just does nothing
} o8(" ");$ls+=$cs;if(($ls+$cs) >= $wd){o8("\n");$ls=0;}}'; } # simpl quik&&dirT runthru4prntng BinaryBits of AllAway-from-A(deci)&&othr fAvorit numbAsz;
#lias gg=' perl ~/dvl/d8/bin/gg '; # basic perl call to priv8 non-executable development utility to Gener8 G-mail stamps for Gerry (my Dad)
alias drkh=' pa "print drkh(@ARGV)"'; # HEX to RgbL with 8th intensities # abov gg was alias but changed to shell function so 'p' pRam doesn't Xpand;
#lias h2rl=' pa "print h2rl(@ARGV)"'; # HEX to RgbLowbitz # actually trying to reform these alias wrappers to standalone usable new ~/bin page2 utlz
alias h2='h2rl'; # HEXX-To(Rl) &&
alias r2='rl2h'; # RGBl-To(hX) 2-char (half-sized) aliasez 4 Stablishd 4-char conversion Utlz 2 B EZer 2 access wi breviT && hopefully stA mMorabl;
#lias rl2h=' pa "print rl2h(@ARGV)"'; # RgbLowbitz to HEX
#lias fctz=' plb " fctz(@ARGV)"';
#lias fibz=' plb " fibz(@ARGV)"';
#lias prmz=' plb " prmz(@ARGV)"';
#lias sumz=' plb " sumz(@ARGV)"'; # printing these was just yielding an extra 1 at each end, after they printed output themselves instead of returnd
alias dv=' dirs -v';
alias dirp=' dirs -p|pe "\$_ = \$. - 1 . q. . . \$_"'; # sho lynz
alias d2u=' dm2u ';
alias u2d=' dm2u d';
alias del=' rm';
alias copy=' cp';
alias move=' mv';
alias attrib=' en "Forget MicroSoft-DOS. Please use \`man chmod\` instead! ;) "'; # just print advice for this, since calling semantics are so different
#lias mutt=' mutt; ~/lib/Octology/f8/pal8/TIGSfAVS.pal8'; # mutt clears pal8 colors so at least restore favor8s afterward
# [pip@AkuJ28LIPsh~]en `source-highlight --lang-list`|pe 's/(\S+) = \1\.lang */$G$1$w;/g;s/(\S+) = ([^.]+)\.lang */$C$1$o=$g$2$W;$z/g'|sS; # old B4 BlO...
# asm,awk,bash,bib,c,changelog,conf,csh,css,d,dmd,errors,feature,fixed-fortran,free-fortran,glsl,go,groovy,islisp,java,javalog,json, ## slItlyrE4m@d; ##;
# ksh,log,lsm,lua,opa,outlang,oz,properties,r,s,scala,spec,sql,style,syslog,tcsh,tml,upc,vala,xorg,zsh; ## shls=48;solz:88; B4 solz:64; B4 cut dn2: ##;
# ada:adb;applescript:scpt;bat:batch;clipper:prg;cobol:cbl;coffeescript:coffee;csharp:cs;desktop:ini;diff:patch;erlang:erl;haskell:hs;
# haskell_literate:lhs;haxe:hx;html:htm;javascript:js;langdef:lang;ldap:ldif;lilypond:ly;lisp:el;logtalk:lgt;manifest:mf;nohilite:txt;
# pascal:pas;pc:pkgconfig;perl:pm;po:pot;prolog:pl;proto:protobuf;python:py;ruby:rb;scheme:scm;sh:shell;sml:sig;tcl:tk;texinfo:texi;vbscript:vbs;
# caml:ml,mli;m4:ac,autoconf;makefile:am,in;postscript:eps,ps;slang:sl,slsh; bison:y,yacc,yy;flex:l,lex,ll; latex:cls,dtx,sty,tex;php:ctp,php3,php4,php5;
# fortran:F77,F90,f,f77,f90; xml:docbook,kcfg,kdevelop,kidl,rc,ui,xhtml; cpp:C,H,cc,cxx,h,hh,hpp,hxx,moc; ## multi-phase,multi-pass procSing 4 s8 ls; ##;
alias shls='ShlS|sS|pe "@lngz=split(/;/,\$_);\$prev=0;\$_=q(); #\$.=q(shls:);\$_.=q( src-hilite ls s8;lmapz:);
for my \$lang (@lngz){if(\$lang=~ /(\S+)=(\S+)/){\$lmsz{\$2}++;\$lmap{\$2}.=\$1.q(,);} #elsif(0&& !exists(\$lmsz{\$lang})){push(@solz,\$lang);}
else{\$solo{\$lang}++;}} #\$_.=scalar(keys(%lmap)).q(;);\$_.=q(solz:).\$#solz.q(;); # these are mainly commented out intro header d8a now;
for my \$soln (sort(keys(%solo))){if(\$soln=~ /^(haskell_insmthng2reject)\$/){\$_=q(prepend:).\$soln.qq(\n).\$_;}
elsif( !exists(\$lmsz{\$soln})){\$_.=\$G.\$soln.\$Y.q(,);}}s/,\$/\$W;\$z\n/;
for my \$fsiz (sort {\$a <=> \$b} values(%lmsz)){if(\$prev!=\$fsiz){ # basic grouping && reformatting of language familiez by varE8ion size (160 colmz)
for my \$faml (sort(keys(%lmap))){if(\$lmsz{\$faml}==\$fsiz){\$lmap{\$faml}=~ s/,\$/\$W;/;\$lmap{\$faml}=~ s/,/\$w,\$g/g;
\$_.=\$G.\$faml.\$o.q(:).\$g.\$lmap{\$faml};\$_.=\$z.qq(\n) if(\$fsiz < 0);}} \$prev=\$fsiz; # basic spacing below to align;
if(\$fsiz=~ /^(1|4)\$/){\$_.=\$z.qq(\n);}else{\$_.=q( );}\$_.=q( ) if(\$fsiz=~ /^(2|7)\$/);\$_.=q( ) if(\$fsiz==5);}}s/ \$//;
s/(java|haskell_literate|pascal)(\e)/\n \$1\$2/g;%smap=(perl=>\$P,xml=>\$M,json=>\$B,ini=>\$Y,js=>\$c,conf=>\$C,htm=>\$m,zsh=>\$R,py=>\$p,ly=>\$O);
for my \$skey (sort(keys(%smap))){s/(\$skey)\e/\$smap{\$skey}\$1\$z\e/;}"'; # want 2 special-colr othr favr8z 2 4 l8r? `s zsh ~/.zshrc` hangz why?;
alias ShlS='en `shll`|pe "s/(\S+) = \1\.lang\s*/\$G\$1\$w;/g;s/(\S+) = ([^.]+)\.lang\s*/\$C\$1\$o=\$g\$2\$W;\$z/g;
s/(perl)/\$P\$1/g;s/(xml)/\$M\$1/g;s/(json)/\$B\$1/g;s/(ini)/\$Y\$1/g;s/(lily)/\$m\$1/;s/(conf)/\$c\$1/g;s/(zsh)/\$R\$1/g;"';
alias shll=' source-highlight --lang-list'; # just setup src-hili 4 Languages-List && l8r aut0-traverse thru all like ShlS abov but call s() belo on each
alias srchl=' source-highlight -f esc --style-file=~/.shl.style'; # hopefully EvN2ally c8 can supplant shl for file && cmd auto-reformatting && color8ion
alias shlp=' srchl -s perl -i';alias shlc=' srchl -s conf -i'; # assume source code is Perl or Conf && expect next param 2B Input source-code filename
alias shl=' s';alias sSd='sS d';alias sSe='sS e';alias sSE='sS E'; # abov srchl chngz Dfalt HTML output 4m@ 2 ANSI SKpz && setz compOnNt fEld colr style
#lias s=' shlp'; # assume Perl sinc an upd8 2 source-highlight Cmz 2 nO longer correctly autODtect whN input fIlz R such code (2du:tSt4problMAgNl8r);
# Sun 02 Jun 2019 02:50:13 PM UTC, comment #6: Fixed. Tom Tromey <tromey> Project Administrator; K37L1shl:edited from HTTPS://Savannah.GNU.Org/bugs/?45299
# Tue 22 Aug 2017 04:47:33 PM UTC, comment #5: Problem in zsh.lang. The keyword clause ends with trailing vertical bar. Remove && it will work. Anonymous;
s(){ ifil="$1";synl='';if [[ "$#" -gt 1 && "$2" != "" && -e "$2" ]]; then synl="$1";ifil="$2" ; elif [[ "$#" -lt 1 ]]; then ifil="$HOME/bin/8ct";
elif [[ -e "$1" ]]; then # BlO 2 stRt adng elif tStz 4 XtNsion nAmz (mAB wi $(E) something too?) 4 autOpik lang; srchl --lang-list|g $XtNs;
if [[ ${(L)1} =~ \.sh$ ]]; then synl='bash'; elif [[ ${(L)1} =~ \.html$ ]]; then synl='htm'; elif [[ ${(L)1} =~ \.cfg$ ]]; then synl='conf';
elif [[ ${(L)1} =~ \.py$ ]]; then synl='py' ; elif [[ ${(L)1} =~ \.xml$ ]]; then synl='xml'; elif [[ ${(L)1} =~ \.8\.$ ]]; then synl='conf';
elif [[ ${(L)1} =~ \.t2?$ ]]; then synl='perl'; # get test scriptz 2?;
elif [[ ${(L)1} =~ \.raku$ ]]; then synl='perl'; # 2du:chng backtix 2 $(cmdz);
elif [[ `cat "$1"|head -n 1|grep -l '^#!.*zsh' ` != "" ]]; then synl='bash'; fi; # tryd2Dtect Zsh script #! lIn2set syntax language,but zsh.lang hangz =(
if [[ `cat "$1"|head -n 1|grep -l '^#!.*perl'` != "" ]]; then synl='perl'; fi; fi; # multi -i B4 othr pRam ls? used2question that at very end; YnEd if?;
if [[ "$synl" != "" ]]; then echo " source-highlight -f esc --style-file=~/.shl.style -s $synl -i $ifil;"; srchl -s $synl -i $ifil; # 2du:tStallsynlz;
else echo " source-highlight -f esc --style-file=~/.shl.style -i $ifil;"; srchl -i $ifil; fi; }
#lias bat='batcat --pager="less -RF" --style="header,grid" --theme="TwoDark"'; # N53M0bat:cat(1) clone with syntax-highlighting && Git integr8ion;
# N7LMNNPM:`bat --list-themes >/tmp/bat-themes.ls` 1337 DarkNeon GitHub OneHalfDark "Monokai Extended" "Monokai Extended Bright" ansi-dark
# "Sublime Snazzy" base16 TwoDark zenburn OneHalfLight "Monokai Extended Light" "Monokai Extended Origin" ansi-light
# Used to have `ai bat` with v0.12.1 && /usr/bin/batcat but did `sz;apt remove bat;dpkg -i ~/dvl/t8/shl/bat-musl_0.23.0_amd64.deb` since orig was way old;
# HTTPS://TmTheme-Editor.Glitch.Me/#!/editor/theme/GitHub seems to allow for online crE8ion of .tmTheme XML files which can go in ~/.config/bat/themes/ &&
# then run `bat cache --build` to allow the new entries to be seen by `bat --list-themes`. HTTPS://GitHub.Com/svermeulen/text-to-colorscheme 4 nvim&&GPT4;
# HTTPS://GitHub.Com/aziz/tmTheme-Editor HTTPS://GitHub.Com/jibsen/yamltotm (Python 2 gNr8 .tmTheme from .yaml HTTPS://GitHub.Com/pouyakary/themeX 2 gNr8?;
alias d128='b10 `d8`|b128';alias d1='d128'; # bat mA nEd --paging=never 2skip `most` 2rendrANSIcolrz or less can with -R so that; ## Last theme: zenburn;
alias d256='b10 `d8`|b256';alias d2='d256'; # --list-themes: 1337 DarkNeon GitHub 'Monokai Extended' "Monokai Extended Bright" 'Monokai Extended Light'
alias d93k='b10 `d8`|b93k';alias d9='d93k'; # : 'Monokai Extended Origin' OneHalfDark OneHalfLight 'Sublime Snazzy' TwoDark ansi-dark ansi-light base16
bathm() { for BThm in 1337 DarkNeon GitHub OneHalfDark OneHalfLight TwoDark ansi-dark ansi-light base16 zenburn;do bat --theme=$BThm $@;ec $BThm;
W8Ky=`w8k 88`;if [[ ${(L)W8Ky} =~ x ]]; then return 0;fi;done; }; alias bpl='bat -lpl'; # like shl && SynCat spl,nEd 2 mk VimDefault.tmTheme 4 bat 2;
bplc () { bpl -f $@ | bsc; }; # force bat coloriz8ion && Substitute the Colors to be closer to a shl or vim or spl (stil proly nEd2mk .tmT 4 mor colr c@z);
alias d8pe='d8 e|pe "s/\\..*//"|b64'; # NCELEBR8:print epoch d8 now && pipe-eval stripping sub-second fractional part post-decimal; BlO addz pHASS;
alias d8ep='d8 e|pe "\$f=q();if(s/(\\..+)//){\$d=q(0).\$1;\$f=q(%).b64(int(64*\$d)%64);};\$_=b64(\$_).\$f;"'; # try2apNdjust singl b64 pHASS char4fractnpRt;
alias d8wf='d8=`d8`;en "d8:$d8;"|flet ;ec;ec "d8B4:$d8;";ec "d8af:`d8`;"'; # d8-timer Wraps Fusion of d8 thru Figlet Font Filez;
alias fl='d8=`d8`;en "d8:$d8;"|flet > ~/.log/flet-"$d8".log;ec "d8B4:$d8;";en "d8af:`d8`;"'; # run flet as just fl && redirect STDOUT 2 .log file 2ck;
alias wf='d8wf';FL() { figlet -w $COLUMNS -f $1; # just Wrap Flet in d8z;also mkFL just for auto d8 4 now,l8r any pipe2; # BlO can inXclud2&&mapb64+;
}; alias lsfl="ls /usr/share/figlet/*|gv -|pe 's{/usr/share/figlet/}{};s/\\.flf\\n/ /g;s/ \[0-9a-z_\]+ / /g;'"; # umm quik dope-as-fsck! ;)
alias S8=' shl8'; # my primitive c8:SourceHighLight8 Utl to hopefully eventually approach functional parity with source-highlight before surpassing it
export d2="$HOME/dox/2du"; # K6LMLhot: `ai libgtkhotkey-dev libgtkhotkey1 sxhkd triggerhappy khotkeys-data khotkeys-dev khotkeys` to hotkey Octology demo;
export gs="$HOME/gfx/sho"; # K6MMGFix: actually adding xe() to a8.pm to wrap `xte` for Octl dMO autom8ion seems better than above hotkey options (so far);
export mv="$HOME/mvz/U2b"; # KA1MGAmv: add my main MoohVz directory as another shortcut ENV variable;
export mu="$HOME/muz/U2b"; # K6NMD3AF: add my main MUzicz directory as another shortcut ENV variable;
export mU="$HOME/muz/U2b";alias R='reset'; # Up-U! ;)
alias LS="$HOME/mvz/U2b/vid/;mp -fs L*To* L*Sh* L*He*"; # LindseyStirling whom I dearly love && adore, doing SleepWalking(WayToo),Shadow,&&Heist(fItgAm);
#lias ML="mplyr -nosound -ss 11 -endpos 299 -fs -geometry 1920x1080+0+0 $HOME/mvz/dvl/rec/PS-Octology-PerlConfer*-Take0-K6G*.mp4"; #run audio-less video;
alias ML="mplyr -ss 4 -endpos 310 ~/mvz/dvl/rec/PipStuart-Octology-PerlConferenceInTheCloud-LightningTalk-June24-26th_2020-Take2-K6OM84Me.mp4";
alias GL='g3lt '; # GoodLuck GodsLove GameLife GoneLong GrabLunch GetLadies GutLosers GiveLicense GoLast GraphicsLibrary Gr8Laser GroupLeaders GetLoud;
#lias g3lt='cd; pu $mu;wh g3lt;gst123 -k 212 Oi*;g3 63 36 63 63 u*/El* ../f*/Bo*/T*/B* *br* c*/Gi* -v monoscope;ec;g3 ../wa*/Bo*/B*;ec;Hlt;ec;po';
alias g3lt='cd; pu $mu;wh g3lt;gst123 -k 212 Oi*;g3 63 36 63 63 u*/El* ../f*/Bo*/T*/B* *br* c*/Gi* ;ec;g3 ../wa*/Bo*/B*;ec;Hlt;ec;po';
alias Hlt='g3 48 $mu/chl/Hack*Univ* -k 3420'; # add just 1st seconds of gr8 part 2 push above 4mins12secs right up against 5mins total 4 LightninTalk;
alias HU='g3 188 $mu/chl/Hack*Univ* -k 3420 -vk'; # Fil_Far's HackrCodngMusic Universe rad Nd-pRt2 -k --sKip 2 (57mins==`q 57x60`secs) GooM2K1 -v(is);
SC8() { d8=`d8`;lodH >/tmp/S.H-$d8.ansi;sloc -b 262144 /tmp/S.H-$d8.ansi $gs/calN-160x50-K6GM*.ansi $gs/8plc-160x50-K6NMAPag.ansi ;
rm /tmp/S.H-$d8.ansi; }
SC() { d8=`d8`;shlc $d2/cred.utf >/tmp/SCu-$d8.ansi;sloc -b 1146 /tmp/SCu-$d8.ansi;rm /tmp/SCu-$d8.ansi; }
GG() { pu $d2/.bak/.g6./.GG.;if [[ $# -gt 0 ]]; then ./GG $@; else ./GG -a; fi; po; } # GuyGooway's: GoodGames GoneGrooving GropingGirlies;
alias g3BRO="cd ~/muz/U2b/nxt;ec 'g3 -vi -Z BtieBoys RammRage Obsidia8';g3 -vi -Z \$(ls ~/muz/flac/Rage*/*/*.flac ~/muz/flac/B*Boys/**/*.flac ~/muz/mp3/BadR*/*/*.mp3 ~/muz/mp3/RonD*/*/*.mp3 ~/muz/mp3/Rammstein/[12][90][90][5714]*/*.mp3 A* Bee* E*-[NRT][eaoh]* G* O* O* Ra* S[eh]* V* ../O* ../O* ../obs/*Nig* ../obs/*Nig* ../obs/*Meta* ../obs/*Dead* ../obs/*Dead* ../obs/*Die* | gv jpg | grp '.mp3$\\|.ogg$\\|.flac\\|.m4a$\\|.opus$' | gv 'Meister\\|Riechst\\|Sehnsucht\\|Tier\\|Spiel\\|Klavier\\|Alter\\|Eifersucht\\|English\\|Spieluhr\\|Zwitter\\|Rein_Raus\\|Adios\|Nebel\\|Morgenstern\\|Amour\\|Modell\\|Unit\\|80-85')";
alias g3f='g3 11 -k 363 ~/muz/flac/Boo*/Boo*/14*Hell*'; # BBoyz-FknMthaFka!
alias bj='blkjk|pe "s/Player\\d+\\s+cmp2D:\\s+\\S+\\n//g;s/(Player)(\\d+)/\$p\$1\$W\$2\$z/;s/(Dealer)(\\d+)/\$M\$1\$w\$2\$z/;s/(Purse)/\$C\$1\$z/;s/(\\s*\\d+\\s+)(hand)/\$W\$1\$r\$2\$z/;s/(Black)(Jack)(!)/\$K\$1\$R\$2\$W\$3\$z/;s/(Busted)(!)(Jk)(!)/\$Y\$1\$W\$2\$r\$3\$W\$4\$z/;s/( S)(c)(o\\w+)/\$C\$1\$c\$2\$C\$3\$y/;s/([: ])(\\w[hd])/\$W\$1\$R\$2\$z/g;s/([: ])(\\w[sc])/\$w\$1\$K\$2\$z/g;s/(:)(\\$)(\\s*\\d+)(\\.)(\\d\\d)/\$Y\$1\$B\$2\$G\$3\$O\$4\$P\$5\$z/g"';
# HTTPS://YouTu.be/J0TWTnYZBdM LimpBizkit-FuckinSong
# HTTPS://YouTu.be/UrgpZ0fUixs DenisLeary-AssHole
# Many of these Octology aliases should become special V8 via c8 coloriz8ion command wrappers or otherwise enhanced (&& simplified?) && unified funcs or cmdz:
alias 0=' ogg123'; # o 123 : zer0 lIke lc o audio-player # maybe l8r try to figure out better aliases 4 numbers here since they could be good shortcutz;
alias 1=' mpg321'; # m 321 : audio-player # simple && light-w8 command-line MP3 player based on mad decoding library (drop-in 4: mpg123);
alias 2=' mpg123'; # m 123 : audio-player which plays audio MPEG 1.0/2.0/2.5 streams (layrz 1, 2, && 3),was non-free unlike abov`mpg321`;
#lias 3=' g3 '; # g3 : gst123 audio-player wrapped with Expect manipul8ion layer (J29:3 now 3rd sepR8 varE8ion off g3 2get abit trickier);
alias 4=' x4t '; # 4 : xfce4-terminal xf4tm terminal emul8or where `x4t` is defined more elabor8ly to start with my preferred defaults elsewhere;
alias 5='perl '; # 5 : perl (5.28.1 l8st perl5 in /usr/bin/ on Pip's $HOST Oni as of`d8 K2MLAUGH`=>"Sat Feb 22 10:30:16:17 -0600 2020")
alias 6='perl6 '; # 6 : perl6 (which presumably should be renamed at some near future point to: "raku" for disambigU8ion && clarific8ion)
alias 7=' 7z '; # 7 : 7z 7-Zip - file-archiver with high compression r8io format that implements LZMA algorithm && handlz many 4m@z
#lias 8=' viii '; # 8 : lc RomanNm viii vim alias (defined elsewhere in this file) which might eventually branch off into Octology editor varE8ion
alias 9=' c99 '; # 9 : c99 (ANSI [1999] C compiler,where status of fE8urz in GCC described@: HTTP://GCC.GNU.Org/gcc-9/c99status.html )
alias a='asciiview '; # a : asciiview (An Ascii-Art imAge/Anim8ion browser depends on `aview --help` 4list of options thN filename.p[ngbp]m)
alias A='asci '; # A : asci (Another AliAs2Auto-Aligned Ascii And Accentu8d ApprAisAl of Artistic Attributes of AvAilAble Acters[chAr])
alias asci=' ASCI';alias AH='A -H'; #HitAdolf(default call U8.pm UTF8 to print just most of the first 256 characters, or take other params as UTF8 can)
alias ASCI=' utf8'; # : UTF8 (default already 256 internally wi no $1) # BlO setup function to default $1 end indX 4 how many UTF8 chars
utf8() { if [[ $# -gt 0 ]]; then UTF8 $@; else UTF8 4096; fi; } # hopefully GnomTerm, XTerm, STTerm, && Sakura can each stay mostly aligned up2 4096
#lias u8=' utf8'; # : made U8.pm u8; (renamed asci to UTF8 in U8.pm && ~/bin/, then made utf8 here a function 2take parameters or default hIghr)
alias p6='perl6 ';
alias bk=' b '; # bk : b (originally Pip::Utl file BAcKup command) # this str8forwardly crE8z a .bak/ subdir&&copiez d8d fIlez in2it
b() { bak "$@"; } # unalias b (redefining as simple function wrapper resolves parameter alias expansion problem [but still will glob ok])
alias B=' b '; # (above function probably needs dbl-quotes around parameter list to keep spaces in filenames from splitting)
alias cm='cmatrix';
alias cls='clear -x'; # cls : clear (like DOS command for CLearScreen) # -x optnflag trIez 2 prEserv scrollbak && just blank $TERM in newlinez
alias C='cls '; # C :B4 clear was wc (Count charz,words,&&lines&&eventually bits,bytes,[KMGTPEZY]i?bits|Bytes,code points,paragraphs,subs,etc.)
alias CC='cd;C '; # : (combines Change directory back2 home ~ && then Clear screen,pretty easy2type 1-handed but Enter is a reach)
alias CCC='CC;een "\e[3J"' ; # special super Clear of scrollback too (goodaftr `kp` along wi xx 2clear paste buffers);CSI n J - ED(Erase in Display)
alias dusb=' du -sb'; # du : du|df|dfc (Disk usage, free, etc.) with -sb to Summarize (only total4each arg) with block-size Bytes
alias dus=' dusb '; # it's often pretty useful to pipe the raw decimal size Summary in Bytes in2 `cma` 4isol8ing Thou,Mill,Bill...z
alias ds=' dus '; # might be nice to l8r offer parameter options to `b64` && `b256` to only oper8 on 1st decimal field(lIk `cma`)
alias dub=' dusb '; # maybe EvN2ally `dub` shudB realloc8d as somehow rel8d 2gr8 Obsidia|PegBoardNerds|Tristam|TutTut Dubstep mUzic
alias db=' dub '; # maybe EvN2ally `db` shudB realloc8d as somehow rel8d 2 d8a-base (PostGreSQL?) queries, manipUl8ion,&& mngmNt
# no longer just d aliasing du above since better to apply to ~/bin/dic (my colorful enhanced `dict` wrapper, like piping thru `colorit`) since I Use it fR mor
#lias F=' f '; # O3GM0SPF:thinking of f stayz find 4 fundamental but F->sprintf && P->pf->printf instead of pal8 wich is already fine wiot P? hmm…;
alias f=' find'; # f : find (with combined interface to loc8?)
#lias g=' grp '; # g : sarep|(e|f)?grep (sed|awk too?)
g() { grP $@; } # unalias g (redefining as simple function wrapper resolves parameter alias expansion problem [but still will glob ok])
alias ga=' g -a'; # grep -a to binary-As-text (rEsolvz `g Brail ~/dvl/*/*.pm` "grep: k8/k8.pm: binary file matches");
alias gi=' g -i'; # grep -i to Ignore_case ## whN Uzng ga abov, B careful on just XtNsionz 4 UTF8 2 trEt az tXt ...
alias go=' g -o'; # grep -o to Only_matchz ## not lIk:`gas Brail ~/dvl/*/*/*` Bcuz th@ trIz 2 prnt rEl bInaryz! =( ;
alias gv=' g -v';alias gvg='gv grep'; # grep -v to inVert_match_results (gs is already GhostScript so not aliased to g -s)
alias gS=' g -s';alias grs='gS';alias gms='gS'; #grep -s to SupreSS warningS ## -s also like gns a bit below;
alias gH=' g -H'; # grep -H to sHow Header_file_name
alias gT=' g -T'; # grep -T to make sure -n liNeNumber && -b Byteoffset && matchingtextline start on initial-Tab stopz2alIn
alias gn=' g -n'; # grep -n to show liNe_Number
alias gb=' g -b'; # grep -b to show Byte_offset && also want -u to Use-Unix-byte-offsets for MS-DOS or MS-Windows OpSystMz
alias gai=' ga -i';alias gia='gai';alias gas='ga -s';alias gan='ga -n';alias gain='gai -n';alias gaiv='gai -v';alias gainv='gain -v';alias gavin='gainv';
alias gio=' gi -o';alias goi='gio';alias gbu='gb -u';alias gnv='gn -v';alias gvn='gnv';alias ginv='gin -v';alias givn='ginv';alias gns='g -s'; #-no-mSgz;
alias gin=' gi -n'; # grep to both Ignore_case && Only___match_include (but alreD was /usr/bin/gio 4 mAB GLib InptOutpt?)
alias giv=' gi -v'; # grep to both Ignore_case && inVert_match_results
alias gis=' gi -s'; # grep -s to both Ignore_case && --no-messages suppress messages like glob * getting directories
alias gvs=' gv -s'; # grep -s to both inVert_match_results && --no-messages # gs already taken by GhostScript
alias givs=' giv -s'; # grep -s to Ignore_case && inVert_match_results && --no-messages # which is proly like evince
alias gais=' gai -s';alias gains='gain -s';alias gaio='gai -o';alias gaios='gaio -s';alias gaso='gas -o';alias gaos='gaso';alias ganos='gaso -n';
alias gaino='gain -o';alias gainos='gaino -s';alias gainosv='gainos -v';alias gainsov='gainosv'; alias gano='gan -o';alias gasno='ganos';
alias gvH=' gv -H'; # grep -H permut8ionz... but all these should probably be re-grouped tightly near `ls` permut8ionz above
alias gHs=' gH -s';alias givH=' giv -H';alias gvsH=' gvs -H';
alias gsH=' gH -s';alias gisH=' gis -H';alias givsH=' givs -H';
alias gcwd=" gnv '[ ?]?' ~/dox/Ppl/Dad/ChatWithDad-K43MJ000.utf|g '([KL][0-9A-C].[ML]|\\?)'"; # grep d8z && non-spAcd lone quStion-mRkz in Ch@WiDad;
alias gadd=' gi "^ *[a-z8]*8[a-z8]* *[:#].* add.*8" ~/dox/2du/8.utf'; # early varE8ion wich didn't rEquIre pound after colon,lIk BlOw expecting both l8r
alias gad8=' gi "^ *[a-z8]*8[a-z8]* *:.*#.* add.*8" ~/dox/2du/8.utf'; # utility alias 2 grep 8.utf 4 all comments describing potential words to add l8r
alias gad=' gad8 '; # while the above 2 originally differed into more restricted result count, material text has been upd8d such that they match on I98
alias eg=' egrep'; # eg : e grep
alias zg=' zgrep'; # zg : zgrep (like zcat for *.gz) # below heX aliasing must get decimal input piped thru, can't du pRam
alias G=' zg '; # (if hX duz!wrk BlO,try`HEX|perl -pe 'lc'`or shL func.Note:had2unalias lc ls -ct ChngTime 2mk tr 4lowr&&uc.)
heX() { HEX $@ | lc; } # heX : heX (shouldbe rel8ively equivalent 2old ~/bin/heX of Octology::b8->heX() 2turn decimal input in2 lowercase heX)
alias hX='heX '; # hX : # (just more terse varE8ion with same pronunC8ion for lowercase heX ) # might want to sepR8 implement8ions?
alias bt=' btop ';
alias ht=' htop ';
alias H=' htop '; # : "H" 8sh (should EvN2ally be custom Octology shell instead of just UpperCase administr8ion access2 htop diagnostics)
alias h='history'; # h : history (built-in in zsh && probably needs to be built-in for 8sh too)
alias I=' i ';
alias i=' info'; # i : info
alias J=' j ';
alias j=' jobs'; # j : jobs (shell-built-in)
alias k='kill '; # k : kill (maybe kill is too risky to abbreV8 this tersely?)
alias ka='killall'; # ka : killall
alias k9='k -9 '; # k -9 : kill with -9 force
alias K='k9 ';
vm() { $HOME/.vim/bundle/vim-superman/bin/vman $@; } # cd ~/.vim;mc bundle;g8c https://github.com/jez/vim-superman.git vim-superman; 4betr-than-most
alias M=' m ';
#lias m=' mn '; # m : man (mn() already zsh function below, but may soon extract to preserve parameter history like d8:dic)
alias m='mn'; # m() { mn $@; } # unalias m && redefining as simple function wrapper resolves manpage param alias expansion problem (but still will glob)
alias mm=' mikmod'; # prolly scream 3 times if you can read hahahaha !!! :)
alias nf='neofetch';
alias P0='pP 0';alias P1='pP 1';alias P2='pP 2';alias P3='pP 3';alias P4='pP 4';alias P5='pP 5';alias P6='pP 6';alias P7='pP 7'; # run 64 basic prOfIlez
alias P8='pP 8';alias P9='pP 9';alias PA='pP A';alias PB='pP B';alias PC='pP C';alias PD='pP D';alias PE='pP E';alias PF='pP F'; # thru Picker all up-Pz
alias PG='pP G';alias PH='pP H';alias PI='pP I';alias PJ='pP J';alias PK='pP K';alias PL='pP L';alias PM='pP M';alias PN='pP N';
alias PO='pP O';alias Pp='pP P';alias PQ='pP Q';alias PR='pP R';alias PS='pP S';alias PT='pP T';alias PU='pP U';alias PV='pP V';
alias PW='pP W';alias PX='pP X';alias PY='pP Y';alias PZ='pP Z';alias Pa='pP a';alias Pb='pP b';alias Pc='pP c';alias Pd='pP d';
alias Pe='pP e';alias Pf='pP f';alias Pg='pP g';alias Ph='pP h';alias Pi='pP i';alias Pj='pP j';alias Pk='pP k';alias Pl='pP l';
alias Pm='pP m';alias Pn='pP n';alias Po='pP o';alias Pp='pP p';alias Pq='pP q';alias Pr='pP r';alias Ps='pP s';alias Pt='pP t';
alias Pu='pP u';alias Pv='pP v';alias Pw='pP w';alias Px='pP x';alias Py='pP y';alias Pz='pP z';alias P.='pP .';alias P_='pP _';
#lias P=' pal8'; # P :2prntf?O3G pal8 terminal color setting utility from my Octology::f8 module ("f8ful 0per8ion" for handling f0nt && pal8 d8a)
alias p=' CCC '; # p : CCC (p used to be just 'ps' "Process Snapshot" but remapped to super Clear from above for easy one-hand entry)
alias PPP=' ppp '; # PPP : pull pushd, purge previous back to just a plain prompt, then popd so that past scrlbak wipez with working dir preserved;
alias pl=' perl'; # pl : perl (with the most common file-extension for typical Perl code as a way to invoke the interpreter itself also)
#lias pL='pP L '; # pL : pP L (aidyLaicyLiteral LuciousLadyLumps LovelyLivelyLoudy LastLiasLpro); pPA triez 2 loop in Perl nstd of ZshL;
alias pp='Pp'; # pp :pP p # pA() BlO is: profileAll 2 thrO out P PipStu d falt, pp, cc8, gg, jj8, ii, RR, BB, LL, OO, WW, kk, && vv;
alias pc='Pc';alias pg='Pg';alias pj='Pj';alias pi='Pi';alias pR='PR';alias pB='PB';alias pL='PL';alias pO='PO';alias pW='PW';alias pk='Pk';
#alias!pv='Pv'; don't alias this anymore since /usr/bin/pv is probably good PipeViewer Utl th@ cud B Useful && lernd from 4 my Own terminal appz l8r 2;
mX() { cd $HOME/dvl/Ppl/bep/mad-scientists-lab/ta;for Mrkt in BTC ETH EOS XRP;do bin/mexico -x bybit -m $Mrkt/USD -t 1m -s last -l 160 -v;done;};alias mx='mX';
# pA(){for HPrF in d p c g j i R B L O W k v; do echo -en "$W$HPrF ";pP "$HPrF"; d8 -a;echo -en "$z;"; # why did en && een aliasez hav probz?
# if [[ $COLUMNS -lt 160 && $HPrF == R ]]; then echo ;fi;done;echo; # w8 W abov && belo NAbld almost all pP callz 2 finish B4 d8 -a stRtd2;
# for HPrF in 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z '.' '_';
# do echo -en "$W$HPrF ";pP "$HPrF"; d8 -a;echo -en "$z;";if [[ $HPrF =~ ^([CPcp]) ]]; then echo;fi;
# if [[ $COLUMNS -lt 160 && $HPrF =~ ^([6JWjw]) ]]; then echo;fi;done;pP ;};alias ppa='pA';alias PPA='pPA'; # altrn8 3-char all UP or low aliasez;
#pPA(){if [[ $COLUMNS -lt 160 ]]; then # above does shell environment looping while this 1 below here passes all profile keyz as direct pRamz;
# pP d p c g j i R - B L O W k v - 0 1 2 3 4 5 6 - 7 8 9 A B C - D E F G H I J - K L M N O P - Q R S T U V W - X Y Z a b c - \
# d e f g h i j - k l m n o p - q r s t u v w - x y z . _ d;
# else pP d p c g j i R B L O W k v - 0 1 2 3 4 5 6 7 8 9 A B C - D E F G H I J K L M N O P - Q R S T U V W X Y Z a b c - \
# d e f g h i j k l m n o p - q r s t u v w x y z . _ d; fi ;}
# a8:%cmap{8pal8} krOgcbPw KRYGCBMW ehodtspi EHyDTSmI .fuaznlj _FUAZNLJ 02468xvq 13579XVQ # orig by 13z abov was nIc 4 alIning uc && lc but 16z betr;
pA() { for HPrF in k r O g c b P w K R Y G C B M W e h o d t s p i E H y D T S m I '.' f u a z n l j '_' F U A Z N L J 0 2 4 6 8 x v q 1 3 5 7 9 X V Q;
do echo -en "$W$HPrF";pP "$HPrF";d8 -a;echo -en "$z;";if [[ $HPrF =~ ^([WIJQ]) ]]; then echo;fi;
if [[ $COLUMNS -lt 160 && $HPrF =~ ^([wijq]) ]]; then echo;fi;done;pP;}; alias ppa='pA';alias PPA='pPA'; # altrn8 3-char all UP or low aliasez;
pPA(){ if [[ $COLUMNS -lt 160 ]]; then # above does shell environment looping while this 1 below here passes all profile keyz as direct pRamz;
pP k r O g c b P w - K R Y G C B M W - e h o d t s p i - E H y D T S m I - '.' f u a z n l j - '_' F U A Z N L J - \
0 2 4 6 8 x v q - 1 3 5 7 9 X V Q; # chngd both to 8pal8 order && upd8d a8.pm:pP to not space after key anymore either so 2pal8z fit 160colmz;
else pP k r O g c b P w K R Y G C B M W - e h o d t s p i E H y D T S m I - '.' f u a z n l j '_' F U A Z N L J - \
0 2 4 6 8 x v q 1 3 5 7 9 X V Q;fi;pP;echo -e "$z";} # pPA is much faster looping in just perl than looping && calling out in pA above;
LK (){ if [[ $COLUMNS -lt 160 ]]; then # new LoKi StarLord Quill (Quest?) ChristopherNitzchke brother-man (not LiuKang) to show b10 of b64 LK;
export lk='lOkI'; b10 $lk|cma|b8clr;ec "$W=${m}l${O}O${k}k${p}I$g as$B b10$w;$z"; # l8r substr/regex out sub-charz && auto y/// or UC($lk) 42 LK;
export LK='LoKi';en ' ';b10 $LK|cma|b8clr;ec "$W=${M}L${o}o${K}K${P}i$G as$B b10$W;$z"; fi }
alias lk='LK'; # [pip@OniLC9L8jKm~]lk; en bAsic-f0numz; [pip@OniLC9L8jLw~]en '(920)636-6271' [pip@OniLC9L8lbj~]en '(920)637-8634'
# 12,422,034=lOkI as b10; # b64 920; EO; b64 636; 9y; b64 6271; 1X_; b64 637; 9z; b64 8634; 26w; en "(EO)9y(z)-1X_(26w);" # cud diff sectnz 2;
# 5,711,148=LoKi as b10; # b10 EO; 920; b10 9y; 636; b10 1X_; 6271; b10 9z; 637; b10 26w; 8634; #[pip@OniLC9L8num~]en 'abov hybrid of both #z;';
alias ppp='pu;p;po'; # ppp : prepriv8 (same as single p for CCC cd,clear,cut scrollback but wrapped with pushd && popd aliases to undo the cd ~)
alias T=' tee '; # tee : tee (maybe can wrap into c8 with cut,cat,colored columns?); rEmMbr standRd `tr -d ...` is transl8 DlEt like subS
alias t=' tmux'; # tmux : tmux|screen ... any other altern8ive multiplexers forked out there? (orig: `tsgr b` shO xtrm256colr pal8 Blox)
alias x=' exit'; # x : exit
alias lSX=' lS -X'; # lSX: lS-X (sAm azBlO Fitz,Kill(Ktrl-c2Kwit),RawRendition(ofSKpz),&&SizedScreenwrap with no init(just Xit) no rEstorng)
alias lS=' less -F -RS'; # lS : less (with Force auto-Xit if Fitz lS than1 Full scrn,Kill on Ctrl-c,Raw outpt4ANSI SKpz,Scrnwidth-wrap long lInz)
export PAGER="`which less` -FRS "; # O3QM1AUB:m mo man most must give way to lS less with way better vim && SKp stuf; aparNtly -FK can't retn2cmd prmpt4CtrlC!;
alias mo=' most'; # mo : most|more (the color support in less abov may motiv8 me to chng my PAGER over to that instead of mo here... hmm)
alias mdp=' md -p';alias mdv=' md -v'; # mkdir -p(arent) && -v(erbose) flagged basically wher -p cud probably B mAd Dfalt md && giv an mdP 2 !include ;
alias md=' mkdir'; # md : mkdir; O36LMDPV:mIt want2l8r mk fu md() nstd wi mAB autO Dfalt -p(arent) dir-crE8ion && -v(erbose) mIt B OK 2? ;
alias rd=' rmdir'; # rd : rmdir;
alias DM=' dmesg';alias dmsg='DM'; # dmesg <:> DM (this Used 2B just lOwrcAse 'dm' but was UperCased Bcuz nEdz sudo && 2mk room4 dmenu 2 tAk it Over)
alias dm=' DmC '; # dm : "DmNU"? dmenu wrapper in Octology::a8.pm called DmC (since it was originally just to gNr8 the HEX from my Fb ColorCodes)
alias dmn=' dmenu'; # dmn : dmenu
alias dmi=' dm -i'; # dmi : dmenu case-insensitive
alias dmb=' dm -b'; # dmb : dmenu bottom; # dmenu colr optnz 4 normal && selected, each FG && bg can B #RGB,#RRGGBB,or XnAmz
#lias dmC=' dmi -nf #`r2 xf4` -nb #`r2 028` -sf #`r2 Fxy` -sb #`r2 0C4` -fn "MesloLGS NF Bold-32"'; # dmC : set custom colors && big font # Meslo!work;
alias dmC=' dmi xf4 028 Fxy 0C4'; # dmC : set custom colors && big font MesloLGS32(m) is now Dfalt; # dmC : hEre EquivalNt 2 above now?
alias dmW=' dmC -w $(xdo id) '; # dmw : dmenu window (curNtly active, does not seem 2 work yet why?);
alias dmP=' dmC -p'; # dmP : take prompt string as nXt pRameter (wich may not work in DmC yet,sinc @1st it only acceptd -pPromptString wi nO spAcz);
# dmc() {
# if [[ "$#" -gt 0 ]]; then # print out some help text for -h as first parameter && then return
# if [[ "$1" =~ ^--*h ]]; then
# ec "dmc crE8d by PipStuart <Pip@CPAN.Org> to call dmenu with custom Octology::a8 and f8 pal8 color codes obtained from a8.pm DmC so try -h on that too.";
# ec " -h --help should display this Help text. Probably most parameter options given here will just be passed on through to : DmC since it handles more;";
# return;
# elif [[ "$1" != "" ]]; then # 2du:handle paramz && call dmi with a8.pm converted colorz;
# fi; fi; }; # BlO -F<\w+> abbrEV8ionz shud Xpand 2 -font-name stringz in DmC th@ m@ch thOse comNtd aftr (only some of wich Cm2work yet,Y?);
alias dmCB='dmC -FB' ; # -fn "Bitstream Vera Sans Mono Bold-32"'; # "Bitstream Vera Sans Mono Bold"
alias dmCc='dmC -Fc' ; # -fn "Cascadia Sans Mono-31"';
alias dmCd='dmC -Fd' ; # -fn "Droid Sans Mono Bold-32"'; # "Droid Sans Mono Bold"
alias dmCD='dmC -FD' ; # -fn "DejaVu Sans Mono Bold-32"'; # "DejaVu Sans Mono Bold"
alias dmCF='dmC -FF' ; # -fn "Fantasque Sans Mono Bold-32"'; # "Fantasque Sans Mono Bold"
alias dmCE='dmC -FE' ; # -fn "FreeMono Bold-32"'; # "Free Mono *new_Dfault* Bold"
alias dmCj='dmC -Fj' ; # -fn "JetBrains Mono Bold-32"'; # "JetBrains Mono Bold"
alias dmCJ='dmC -FJ' ; # -fn "JetBrains Mono ExtraBold-32"'; # "JetBrains Mono ExtraBold"
alias dmCl='dmC -Fl' ; # -fn "League Mono Extended ExtraBold-32"'; # "League Mono Extended ExtraBold"
alias dmCL='dmC -FL' ; # -fn "League Mono Wide ExtraBold-32"'; # "League Mono Wide ExtraBold"
alias dmCI='dmC -FI' ; # -fn "Liberation Mono Bold-32"'; # "Liberation Mono Bold"
alias dmCm='dmC -Fm' ; # -fn "MesloLGS NF Bold-32"'; # "MesloLGS NF (Nerd Font) *was_Dfault* Bold"
alias dmCM='dmC -FM' ; # -fn "Monoid Bold-32"'; # "Monoid Bold"
alias dmCo='dmC -Fo' ; # -fn "Monoid Loose Bold-32"'; # "Monoid Loose Bold"
alias dmCt='dmC -Ft' ; # -fn "Monoid Tight Bold-32"'; # "Monoid Tight Bold"
alias dmCK='dmC -FK' ; # -fn "mononoki Bold-32"'; # "mononoki Bold"
alias dmCN='dmC -FN' ; # -fn "Nimbus Mono PS Bold-32"'; # "Nimbus Mono PS Bold"
alias dmCO='dmC -FO' ; # -fn "Noto Sans Mono Bold-32"'; # "Noto Sans Mono Bold"
alias dmCT='dmC -FT' ; # -fn "Tlwg Mono Bold-32"'; # "Tlwg Mono Bold"
alias dmCU='dmC -FU' ; # -fn "Ubuntu Mono Bold-32"'; # "Ubuntu Mono Bold" # most look pretty similar so far;
alias fm='fontm8rx';alias fontm8rx='fontmatrix'; # fm can filter Active&&Proportion:Monospaced to show several more than just these above;
alias bf='birdfont';
alias mnt=' mount'; # mnt : mount
alias umnt=' umount'; # umnt : umount
alias mshr='sudo mount -t vboxsf -o uid=$UID,gid=$(id -g) shr "/home/pip/.hst";rmSS';alias umshr='sudo umount shr;rmSS'; # 4sharngfIlzBtwEnOni&&Ubu&&gN2 VMz;
alias schu='sudo chown $USER:$USER *;rmSS'; # cho all unhidden filz && dirz in current directory to the normal user from any required super-user permissions;
alias cho=' chown '; # cho : chown
alias chg=' chgrp '; # chg : chgrp (a little confusing that I've aliased grp='grep --color=auto' so it could mean grep or group depending)
alias chm=' chmod '; # chm : chmod
alias chr=' chroot'; # chr : chroot
alias chs=' chsh '; # chs : chsh (follow with -s SHELL to autom8, or get interactive prompting without)
alias chf=' chfn '; # chf : chfn (changes user FullName, office room number, office phone number, && home phone number)
alias cht=' chti '; # cht : chti (changes terminal window title)
#lias ct=' cht '; # (mAB consider `mv chti ct` && alias chti instead or add like noglob so Zsh stops Xpandng alias pRamz?)
ct() { chti $@; } # unalias ct && redefining as simple function wrapper resolves title parameter alias expansion problem (but still will glob)
# mc() already zsh function below
#lias mc=' md;cd'; # mc : md+cd (make sure to override MidnightCommander if found)
# c8 already ~/bin/
#lias c8='cut|cat'; # c8 : cut|cat (with columnar alignment, coloring, && command matching..)
alias zc=' zcat';
alias Z=' zc ';
#lias f8=' f80p'; #pal8 : should eventually be CLI && powerful interactive f0nt && pal8 selector && editor
alias fp=' ls ~/lib/Octology/f8/* '; # fp was fontpal => fpal => f80p but none are presently functional
alias f8f=' ls ~/lib/Octology/f8/f0nt';alias lsf0nt='f8f'; # eventually these should switch to f8 cmdz
alias f8p=' ls ~/lib/Octology/f8/pal8';alias lspal8='f8p';alias duf='dusb ~/dvl/f8/ttf/nerd-fonts/patched-fonts/* |s8n|cma';
alias fixfont=' etfp -s -f ~/lib/Octology/f8/f0nt/psf/rOMAN3.psf'; # these hopefully restore usable f0nts to full-screen console (or 8trm also eventually)
alias resetfont=' etfp -s -f ~/lib/Octology/f8/f0nt/psf/france9.psf'; # these maybe should be `setfont` instead of `etfp` for more reliable compatibility
alias s8n=' s8 -n'; # "Prince of Darkness" game eventually? or just simple Numeric Sorting alias until then
alias s8r=' s8 -r';alias rvrs='shfl -r';alias lshf='$(ls|shfl)'; # tMporary plAc-holdr 4 `reverse` sinc sort rearranges all, just high to low; tryXpnd?
alias s8=' sort'; # s8 : sort (maybe eventually a collection of my own custom sortings for orders beyond the default `sort` offerings)
# d8 already ~/bin/ # apparently Zsh (like Bash) has inherent support for 2xx15 0..32767 $RANDOM on the range $((RANDOM % 8)) modulo;
#lias d8=' date'; # d8 : date|time|pt
# g8 already ~/bin/
#lias g8=' git'; # g8 : git (was my much earlier attempt at wrapping to handle abbreV8ions && gener8 commits from .bak && vice-versa)
alias g8c=' git clone '; # another convenient quick common git command for when needing to clone a new repository probably needing lowercase URLs
alias g8co=' git checkout ';alias gas='git add *'; alias g8f='g8 f';alias g8b='g8 br'; # short for git fetch && branch (just b does bisect first)
alias g8st=' git status '; # basic Octology-memorable combined rhyme 1-string altern8 way to call what should be effectively the same as: `g8 st`
alias gaa=' git add .* *'; # handy alias to Add All (Asterisk) changes, Commit by Message string below, then Push Origin Master (likely to GitHub)
alias gcm=' git commit -m'; # tried to call each of these through g8 initially, but maybe -m flag wasn't passing on to git correctly so explicit now
alias gac=' gaa; gcm '; # should setup gcm to auto-commit basic gener8d d8-stamp message && maybe list biggest few file changes, if no mesg given
alias gacm=' gac '; # should maybe make as function which takes parameter or gener8d commit message then gpom with auto user Pip pRam or cnfg?
alias gpom=' git push origin master';alias g8st8='g8st';alias g8s='g8 s';alias g8h='g8 h';alias g8l='g8 l';alias g8d='g8 d';alias g8p='g8 p';
gap() { gac $1;gpom } # above shortcuts are: status, show, help, log, diff, pull
alias dkr=' docker';alias dkrb='dkr build . -t oct';alias dkrun='dkr run';alias dkri='dkr images'; # Beppu-san did Docker, build ". -t oct", run "-it oct";
alias dokr=' dkr ';alias dkrp='dkr ps'; #ias dkrn='dkrun --mount type=bind,source=/home/pip/.log,target=/home/pip/.log -it oct'; # 2du:prune imgz! ;
alias dkrn="dkrun -e DISPLAY --mount type=bind,source=/home/pip/.log,target=/home/tst/.log -v /tmp/.X11-unix:/tmp/.X11-unix -it oct";alias dkra='dkrs -a';
alias n=' ncal ';alias dkre='dkr exec -it';alias dkrs='dkr system prune';dkrx(){dkre `dkrp|hl 2 1|c8 0-1` zsh} # && apNd fm`dkrp` "$id zsh"14hx-chrz;
alias N=' calN '; # N : calN (use `rsn` ReSize4calN 171x57 to show 19-Years, 2000-2018 solidly in slightly lRgr than Dflt 160x50 size)
alias caln=' calN ';
alias l8=' calN '; # l8 : cal|cron|at|batch
alias sl=' ln -s'; # sl : ln (maybe on this, since ln usually makes SymbolicLinks?)
alias slf=' sl -f'; # force upd8 of already existing symbolic link which normally balks
alias O=' o ';
alias o=' orpie';
alias Q=' calQ '; # cl : calQl8|bc|dc like my old calc && symlnk cln (maybe swapping so n reverses meaning to non-default append Newline?)
alias calq=' q '; # all lowercase too
alias calQ=' q '; # now q is just replacing old calQ
#lias q=' cl '; # q was symlinkB4g8 - simple command-line calculator in Octology::b8 with BigFloat (orig:'perl -e "print eval join q( ),@ARGV"')
alias cl=' cln ';alias sct='syncat';alias spl='ec " syncat -l perl ...";sct -l perl';alias scd='spl --dev'; # syncat like batcat;
alias cln=' calQ ';alias tsh='ts -h';alias thl='tshl';alias tpl='thl --scope source.pm'; # tree-sitter sub-commands:
alias tsic='ts init-config '; # Generate a default config file; `thl ~/bin/L`: ec 'No language ' . 'found for path "/home/pip/bin/L"';
alias tsg=' ts generate '; # Generate a parser ; `tpl ~/bin/L`: ec 'No syntax highlighting config found for path "/home/pip/bin/L"';
alias tsp=' ts parse '; # Parse files ;# not sure what's wrong with tree-sitter highlight for perl but @ least shl,spl,bpl work;
alias tsq=' ts query '; # Search files using a syntax tree query
alias tstg='ts tags '; # Generate a list of tags
alias tsts='ts test '; # Run a parser's tests
alias tshl='ts highlight '; # Highlight a file
alias tsbw='ts build-wasm '; # Compile a parser to WASM
alias tspg='ts playground '; # Start local playground for a parser in the browser
alias tsdl='ts dump-languages'; # Print info about all known language parsers
alias ts='tree-sitter'; # N7KMNVTS:~/dvl/t8/node/tree-sitr/ has faild atmptz 2 nstl CLI syntax-highlighting 4 all Tree-Sitter languages (in Emacs && NVim);
#lias nv='nvim '; # N53M3MIV:NeoVim is now an altern8ive to standard Vim;
alias V='vim.tiny';
alias viii='vim '; # viii : v8 v 8 vim (lowercased Roman Numerals for 8 for my vim-style editor command name)
#lias v8='viii '; # v8 changing to Xport $Hv8f B4 calling vim on it, so that it can also be used by U8:upd8
alias 8='viii '; # might try quoting 8 or just synhilite makes it seem wrong when it will work, eventually a c8-based clone that might also perform e
#lias v='v8 '; # v8 and v might become an experimental varE8ion branch of my hopefully eventually standardized ~vim-compatible viii and 8 editor
v() { v8 $@; } # unalias v && redefining as simple function wrapper resolves param alias expansion problem (but still will glob)
alias dif='vimdiff'; # dif : vimdiff|diff|cmp|comm
alias vv=' v v';alias vl=' v l';alias v2=' v 2';alias vk=' v k '; # .vimrc .lrc dox/2du/2.du know.ls
alias vz=' v z';alias vh=' v h';alias vx=' v x';alias vpm=' v pm'; # .zshrc .Hrc .Xrc dvl/\?\8/\?\8.pm
alias nvv='nv v';alias nvl='nv l';alias nv2='nv 2';alias nvk='nv k '; # sAm but NeoVim versionz;
alias nvz='nv z';alias nvh='nv h';alias nvx='nv x';alias nvpm='nv pm';alias nvi='nv i'; # aded init.(vim|lua)
# (upd|loc)8 already above near e (which should eventually wrap v8?)
#lias loc8=' locate'; # loc8 : locate|find # f is already find above
# F5QMGkI3:while trying2`pmei Moose`a tSt sugSted PAR::Dist having an `up` so maybe unalias this in case && ck. u && up used2alias Pip:Utl:updt B4 U8:upd8;
#lias u=' upd8 '; # upd8 : upd8 (U8 tool to cp dvl code into bin && lib, upd8 may eventually wrap g8 git && collabor8 2ease general sync)
u() { upd8 $@; } # unalias u && redefining as simple function wrapper resolves param alias expansion problem (but still will glob)
alias updt='perl -MPip::Utl -e "updt @ARGV"'; # replace old tiny ~/bin/updt with alias in case newer upd8 fails
alias uptm=' uptime'; # uptm : uptime
alias uni=' uniq'; # uni : uniq
# dic already ~/bin/
#lias dic=' dict'; # dic : dict (reformatted for 160 or other columns, colored, with reviewable query history in ~/.log/dic.log file)
#lias d=' dic ';
d() { dic $@; } # unalias d && redefining as simple function wrapper resolves param alias expansion problem (but still will glob)
alias D=' dfc '; # ("D" Used2alsOBshort4 pronunC8ion of "define" too, before realloc8ion to administr8ion DiskFreeColor)
alias y=' yelp'; # J54MClip:Oni 2day had2 `sz;auu;ai dfc xclip irssi`;
alias Y=' y ';
alias zp=' tar czvf'; #zp: tgz|tar|zip|7z (eventually inspect parameters to detect which zip to use)
alias z=' zp';
# uz() already function below
#lias uz=' unzip'; # uz : unzip
alias ev=' evince'; # ev : evince (decent PDF document reader)
alias cncl=' cancel'; # cncl : cancel
alias comma=' cma '; # comma: cma (like coma inserts by 4, these insert after 3)
#lias hd=' head'; # hd : head (hd is already HexDump, which maybe should be combined (&& hd is more crucial HardDisk LVM util too?))
alias tl=' tail'; # tl : tail
alias tlf=' tl -f'; # tail with --follow (&& can be =file or =descriptor, the latter being the default)
# O1ELINKS:from Angie (my Sister): HTTPS://Share.LibbyApp.Com/title/65667 LibraryAudioBook "Medit8ionForBeginners" by JackKornfield && ThichNhatHanh on d8:725
# HTTPS://InSig.ht/xKeKPC1PmGb "Nothing Here But You" 18-minute,49-second dur8:In0 Guided-Medit8ion by Mooji && also HTTPS://InSig.ht/ea7CsraNmGb 4 the app?
alias g3pa=' g3 $HOME/muz/mp3/PascalAuclair/PascalAuclair-TrueNorthInsight-AHeartThatReson8s-TruthOrThought-DharmaSeed.Org_talks_77854-dur8_-14V0-N5C.mp3';
alias eprd='epr ~/dox/med/RecoveryDharma-2.0-EBook-O1DLHARM.epub'; # RecoveryDharma.Org v2.0 `epr` instead of Tp;
alias tprd='Tp ~/dox/med/RecoveryDharma-2.0-EBook-O1DLHARM.epub'; # RecoveryDharma.Org v2.0 (didn't work@1st wi termpub so epr abov);
alias Tp='termpub';alias tplp='Tp ~/dox/dvl/Perl/learning_perl_exercises.epub'; # could also read with Python3 `epr` or `epy` or gnome-books;
alias tp=' top'; # tp : top|htop
alias htp=' htop'; # htp : (ht is already HyperText? in /usr/bin which appears to gener8 HTML from TeX input files, but H also is htop)
# ss() already function below
#lias ss=' ssh'; # ss : ssh
alias wd=' pwd'; # wd : pwd # eventually rep this with new b8:wd in bin like width in wdht span for f(ib|ct)z (su|pr)mz sizing pRam linz
alias pw=' passwd'; # pw : passwd
alias py=' python'; # py : python
alias py3='python3';
alias pn=' ping '; # pn : ping
alias pb=' pingb '; # pb : pingb (needed2`sz; echo net.ipv4.icmp_echo_ignore_broadcasts=0 >> /etc/sysctl.conf; sysctl -p`)
alias ic='ifconfig'; # ic : ifconfig
alias ipc='ip -c'; # ip : ip addr --color=always
alias ipd='ipc -d';alias ipa='ipS addr '; ipp(){ aors='addr';if [[ "$1" != "" ]]; then aors="$1";shift; fi; ip --color=never -d -s $aors | pet; };
alias ipS='ipd -s';alias ips='ipS stats'; # try2abov just stRt bAsic new ip pipe thru pet 2 perform -color filtering betr than Dflt ipc;
alias ns=' netstat'; # from: N7KMD51f:HTTPS://YouTu.be/ppmUsyafyoo "17 Linux Interview Questions && Answers" # N7K:0GE0 of MarkMcNally;
alias nsn='ns -natp '; # show open UDP && TCP ports a few ways
alias sst='ss -nutpl';
alias lso='lsof -i -P '; # /etc/services shows ports;
alias msg=' mesg'; # msg : mesg|write
alias ty='type '; # ty : type # describe command-type like alias, built-in, or with path to bin, etc.;
alias W=' whereis'; # W : whereis # below replaced wh which alias with function nstd 2 avoid early pRam Xpansion
#lias wh='which '; # wh : type|who|w|which|where|whence (like wi uptm prefix line ls of loggedin userz) (tried whence -w for single word typez)
wh(){ which $@; } # maybe the original wh alias abov was expanding to an old Csh binary nstd of DsIrd Zsh biltin && thN alsO Xpandng pRam2or nahLswr2?
wr(){ where $@; } # might just be the same as `which` in most or all cases?
alias whr='wr '; # wr : where # note that `what` remains free to be l8r alloc8d to some similar purpose as well