-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
1877 lines (1877 loc) · 237 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 <[email protected]>; nOt:I originallythotitbetr2rElymoronstndalOnXecutablUtlz than aliases||shL-scrpt funczDfynd inany .rc Bcuz4mer
# stAyavail2spwnd procSz wich hvOwn non-zsh sub-shL cfgz(eg,insrtngPerl2vim:r!q 127/7;b64 1023)sO I pland2port stufhEr2myOctology libz&&~/bin
# butIhv rElIzd that c8.pm (inprep4 8sh)wilBAbl2pars .(ba|z)shrc fIlz2lOd thEz&&can mk thMavail2othr shLz bywrapng cmdz wiXpansionUtlz; lern LaunchPad/byobu,
# 2du: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 EZr8pik144Hz 2HDpMvI?
# 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?
# 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.
# `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.0';export d8VS='MCDL6uVu';export Auth='PipStuart <[email protected]>'; # not Xportng $b sinc cOlIdz wi sort{$a <=> $b} /defhijlnqstuvx/i + AZ 4golf;
if [[ "$SHELL" == "" ]]; then export SHELL=` which zsh`;fi # 8sh should parse this && OverId it # shud `man zshall` /OSTYP 2lern4BlO
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
#f [[ "$HHst" == "" ]]; then export HHst ="$HOST" ;fi; # hopefully stop clobbering Docker container /etc/zsh/zprofile set of $HHst;
if [[ "$HOST" != "" ]] && # hOpfuly stop cloberng Docker cuntAner /etc/zsh/zprofile set of $HHst && error failing Zsh run wi "Oni not found"!;
[[ "$HHst" == "" ]]; then export HHst="$HOST"; fi;
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 HPgr=`which most`;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";export XDG_DATA_DIRS="$XDataDrz";
export XCachHom="$HOME/.cache"; export XSESSION='Gnome' ; export XDG_CACHE_HOME="$XCachHom";export XDG_MENU_PREFIX='gnome-';
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 HMOa='-MOctology::a8';export HMOb='-MOctology::b8';export HMOd='-MOctology::d8';
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";
export PAGER="$HPgr";export PERL_TEST_POD='1' ; #`which most`||PAGER=`which less`||PAGER=`which more`;export PAGER; #a good practice for Perl Kwalitee
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
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,
# \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" ;
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 [[ "$HpPF" == "1" ]] && # try to remember that non-"pip" users are not going to see these profile-based changes when sourcing this file!;
[[ "$HUsr" == *I ]]; then export R=`perl $HMOa -e "print \\\$d8cS[0]"`;export C=`perl $HMOa -e "print \\\$d8cS[4]"`;
export O=`perl $HMOa -e "print \\\$d8cS[1]"`;export o=`perl $HMOa -e "print \\\$d8cS[1]"`;export B=`perl $HMOa -e "print \\\$d8cS[5]"`;
export p=`perl $HMOa -e "print \\\$d8cS[7]"`;export Y=`perl $HMOa -e "print \\\$d8cS[2]"`;export M=`perl $HMOa -e "print \\\$d8cS[6]"`;
export P=`perl $HMOa -e "print \\\$d8cS[7]"`;export G=`perl $HMOa -e "print \\\$d8cS[3]"`;fi; # ck H pickProfileFlag 4 custom base-color Xportz;
# 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
export 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;
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 em='emacs';alias eM='em';alias xord='erd'; alias xopd='epd';alias xo='expo'; # used to prefer xo => expo, but 4-char is already short enuf; p=publish
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/.emacs.d/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~!
#xport 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="$LD_LIBRARY_PATH:/usr/local/lib"; #:/opt/Qt5.13.1-pnp/lib"; # B52MDt4l:Added4Box2D; JCJLM4LD:Added opt2Cif biltQt could run kritaAgN;
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
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?
# 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 CVS_RSH=`which ssh`;export CVSROOT='/var/cvs';export LS_OPTIONS='--color=auto'; # LsOptz: --color=always|yes|force|never|no|none|auto|tty|if-tty
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`;
LS_COLORS="$LS_COLORS*-interface-security=01;31:*-shim-state=01;36:*.?.=0;36:*.??.=0;34:*.???.=0;30:*.????.=0;32:"; # /run # .?. cbkg prvz
LS_COLORS="$LS_COLORS*.3.=0;34:*.33.=0;30:*.66.=0;34;40:*.0.=0;30:*.O.=0;33;43:*.96.=0;34;42:*.9G.=0;32;44:"; #3nd0tn6Xz # gN96z # .?upd8?
LS_COLORS="$LS_COLORS*.G.=0;44:*.GG.=0;34:*.G9.=0;30;40:*.9.=0;34:*.=01;00;34:*..=00;30:*...=0;30;44:"; # endotnGXtraz # gN9Gz # .?bbkbkk prv? +nw g
LS_COLORS="$LS_COLORS*.png.=0;35;45:*.Hrc.=0;30:*.ls.=0;34;44:*.log.=0;32:*.kdb.=0;30;40:*.txt.=0;36:"; # somemAnXtraz # gNrl # .?mkbgkc prvz m b k
LS_COLORS="$LS_COLORS*.g.=0;35:*.gg.=0;30:*.g6.=0;34;44:*.6.=0;32:*.H.=0;30;40:*.8.=0;36:*.prv8.=0;34:"; # moremAnXtraz # gNg8z # .?mkbgkc prvz +nw b
export LS_COLORS="$LS_COLORS*.serverauth.???=00;32:*.serverauth.????=00;31:*.serverauth.?????=00;35:*.goutputstream-??????=00;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=00;33:se=01;96";bindkey -v; #RoYG CBMp=>1o32 645p;RGY BMC;`gis -Hnb`shOFlNmLNumBytN
alias grp=' grep --color=auto'; # want grep --color=auto all za tym2(&&mayB`dircolrz ~/.gprc`?)&&2hv -nubTHZ?fulnSwi:Hedrfylnmz,lyNumZeroUnixTabalyndBytofstz
alias fgrep='fgrep --color=auto'; # ...also fgrep ndz auto2,wud B cool 2 mk perl grep from grepp&&sarep 2 auto colr multiple m@chz difrNtly;
alias egrep='egrep --color=auto'; # ...also egrep # UbuTip:"Edit the command line with cut and paste: ctrl-k for cut, and ctrl-y for paste." prolyOnly4Emacs
alias gpnt=' grp -nubTH';alias gpnz='gpnt -Z';alias gca='grep --color=auto'; # nd2tst4nmspc cOlIdz of`gpn?`&&stuD`(perl|xargs) -0`,`(sort|grep) -z`;
# 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;
export PS1='%{$W%}%(!.<.[)%{$G%}%n%{$z$B%}@%{$C%}$HHst`d8 -z`%{$z$B%}`c8fn -z $PWD`%{$W%}%(!.>.])%{$z$G%}'; # 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='setfp -f';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='Decent' ; 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;
# 8unUsed pal8 fIlz aftr abov: cORRI 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
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 -ca ';alias lC=' lca'; # call lsd8 wi special singl flag ther wich toglz color=auto && basically setz it bak to color=alwayz lIk it wuzB4;
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 '; #omitBakupz(!*~)
alias lFrs='lF -rS ';alias llrs='ll -rS ';alias lrs='l -rS ';alias lfrs='lFrs';alias lsrs='lfrs'; #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 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 '; #had tib="$HOME/gfx/dvl/art/tib";
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 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='rr -v'; # Ignor-cach,Pretnd-emrg,VeryVerbose?
alias rrip=' rri -p';alias rrk='rdrb -k';alias rriv=' rri -v ';alias rripv='rri -p';alias rrivv='rrvv'; # && handy ShrtCutz; Keep-cache(rrk)
alias rrkp=' rrk -p';alias rrp='rdrb -p';alias rrkv=' rrk -v ';alias rrkpv='rrk -p';alias rrkvv='rrkv'; #ias rr='rri'; # PretndEmrg(rrp)
# 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 ak='apt-key ';alias aka='ak add';alias akd='aka - ';alias akad='akd; '; # Debian && Ubuntu apt shortcuts # adding Brv && Sig
alias ag='apt-get ';alias agi='ag install';alias agu='ag update';alias aguu='agu;ag upgrade'; # Debian && Ubuntu apt shortcuts # agdu BlO nEdz v sources.list
alias ac='apt-cache';alias acs='acS ';alias agr='ag remove';alias agrm='agr';alias agar='ag autoremove';alias agdu='ag dist-upgrade'; # 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 goe='g -o export ~/.zshrc|wc -l'; # short altern8 aliasz 4 sepR8 apt && apt-cache srch cmndz 4 querying dpkg d8a;
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 amsm='apt-mark showmanual';alias almi='apt list --manual-installed'; # CatAptLogz in2Grepz shOz instl d8z reversed;
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;
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=' echo "emrg justAbrvz: emerge Try em 4shrtDfltOptz"; emerge'; #ias em='emu'; # fav emrg dfaltz: --colmz -va --kp-go -Du (+-N 4sys|wrld)
alias emcol='emerge --columns -v';alias 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='em -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=' emerge -s';alias emrgS=' emerge -S' # --search (-S == --Searchdesc )
alias emrgp=' emerge -p';alias emrgP=' emrga -P' # --pretend (-P == --Prune [+-a])
alias emrgc=' emerge -c';alias emrgC=' emrga -C' # --clean (-C == --unmerge [+-a])
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';
alias emd='emD ';alias emk='emrgk';alias emsys='emrgsys';alias emwrld='emrgwrld';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"'; # A85AfWf: trying to 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 nh='hN';alias nr='rN';alias SSH='sH';alias SSR='sR';
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*!!!
alias pu=' pushd';alias ua='un ';alias SSRN='rN';alias sN='rN'; # aliasz4aftr`sz`whNIcanw8 1min4shutdn||rEbt;
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();
#lias pe=' perl -MOctology::a8 -pe'; # setup Perl Eval filter easy to give a 's///' after; # sudo abov cannot run both -Intractiv && -Shell optz;
#lias pa=' perl -MOctology::a8 -e'; # setup Perl eval with Attribute Auto-export globals of A8 # the below printz wer nEded&&b64 imprecise?;
#lias pla=' pa '; # pb is already taken by pingb #`pab "print b8colr(coma(b64(calQ('15xx63'))))"
#lias plb=' perl -MOctology::b8 -e'; # setup PerL eval with Base-transl8 export globals of B8 `pab "print b8colr(comma(calQ('4095xx1023')))"`
#lias pab=' perl -MOctology::a8 -MOctology::b8 -e'; # Perl eval with A8 && B8 exports together like `pab "b8colr( b64(calQ('4095xx2047')))"`
#lias pabd=' perl -MOctology::a8 -MOctology::b8 -MOctology::d8 -e'; # Perl eval with A8 && B8 && D8 (although d8 mainly crE8s new objects, not exports)
#lias pep=' perl -MOctology::a8 -MOctology::b8 -MOctology::d8 -pe'; # Perl Eval with A8 && B8 && D8 for Piping filtr8ion
alias epoc=' perl -MTime::HiRes -e "print Time::HiRes::time" | cma '; # setng alias 2 gener8 non-colrd epoch float seconds from Perl Time::HiRes;
alias ep=' perl -MTime::HiRes -e "print Time::HiRes::time"|b64|coma|b8clr'; # setng alias 2 gener8 b64-colrd epoch float seconds from Perl Time::HiRes;
alias pe=' perl -MOctology::a8 -CS -pe'; # tried to add -Mutf8 to aliases but may need some more specific flag?
#lias pa=' perl -MOctology::a8 -CS -e'; # would like to just alias to -e so that double-quoted code can follow, ...
alias pla=' perl -MOctology::a8 -CS -e'; # ... but may need function to include "binmode STDOUT,':utf8'" somehow?
alias plb=' perl -MOctology::b8 -CS -e'; # `m perlrun` described -CS as indic8ing UTF-8 for all 3 of STD(IN|OUT|ERR)
alias pab=' perl -MOctology::a8 -MOctology::b8 -CS -e'; # `pab "binmode STDOUT,':utf8';print b256(calQ('15xx63'))"` gets rid of ...
alias pad=' perl -MOctology::a8 -MOctology::d8 -CS -e';alias pa='pabd'; # pb was already taken by pingb && pa can be all of a8,b8,d8;
alias pabd=' perl -MOctology::a8 -MOctology::b8 -MOctology::d8 -CS -e'; # ... the warning about "Wide character in print at -e line 1."
alias peb=' perl -MOctology::a8 -MOctology::b8 -CS -pe'; # -CSDL is the same as just -C && gets all the STDz && i/o && @ARGV
alias ped=' perl -MOctology::a8 -MOctology::d8 -CS -pe'; # -CSDL is the same as just -C && gets all the STDz && i/o && @ARGV
alias pep=' perl -MOctology::a8 -MOctology::b8 -MOctology::d8 -CS -pe'; # -CSDL is the same as just -C && gets all the STDz && i/o && @ARGV
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 which pRamz 2 pe colrng;
# 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() { pa "for(0..63){ \$bb=b8( \$_,10,2);\$bl=length(\$bb);\$bb= '0' x (6 - \$bl) . \$bb;o8(' ') if(\$_ <= 9);o8(\"\$_:\$bb \"); \
o8(\"\\n\") unless((\$_+1) % 8);}";} # simple quick-&&-dirty kinda run-thru for printing Binary-Bits of All-Away-from-A(deci);
#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
#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|perl -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 '; # above srchl changes from default HTML output format to ANSI escape codes && set component field color style
#lias s=' shlp'; # assume Perl since an upd8 to source-highlight seems to no longer correctly auto-detect when input files are such code
# 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 [[ `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; }
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"; # 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 | g '.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
alias u8=' utf8'; # : (renamed asci to UTF8 in U8.pm && ~/bin/, then made utf8 here a function 2take parameters or default hIghr)
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 ';
alias cls='clear '; # cls : clear (like DOS command for CLearScreen) # -x below tries to preserve scrollback && just blank $TERM in newlinez
alias C='cls -x '; # 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;en -e "\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
alias F=' f ';
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 gi=' g -i'; # grep -i to Ignore_case
alias go=' g -o'; # grep -o to Only_matchz
alias gv=' g -v'; # 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 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 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-spaced lone question-marks in Ch@WiDad;
alias gadd=' gi "^ *[a-z8]*8[a-z8]* *[:#].* add.*8" ~/dox/2du/8.utf'; # early varE8ion which didn't require pound after colon,like BlOw expecting both l8r
alias gad8=' gi "^ *[a-z8]*8[a-z8]* *:.*#.* add.*8" ~/dox/2du/8.utf'; # utility alias to grep 8.utf for 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.)
alias 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 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)
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 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 _';
alias P=' pal8'; # P : 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';
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 ;}
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
# 12,422,034=lOkI as b10;
# 5,711,148=LoKi as b10;
# [pip@OniLC9L8jLw~]en '(920)636-6271'
# (920)636-6271[pip@OniLC9L8l5G~]b64 920
# EO[pip@OniLC9L8lDi~]b64 636
# 9y[pip@OniLC9L8lIH~]b64 6271
# 1X_[pip@OniLC9L8lMV~]b10 EO
# 920[pip@OniLC9L8lUV~]b10 9y
# 636[pip@OniLC9L8lXs~]b10 1X_
# 6271[pip@OniLC9L8lbj~]en '(920)637-8634'
# (920)637-8634[pip@OniLC9L8mCH~]b64 637
# 9z[pip@OniLC9L8mLE~]b64 8634
# 26w[pip@OniLC9L8mc5~]en "(EO)9y(z)-1X_(2"
# (EO)9y(z)-1X_(26w)[pip@OniLC9L8nNv~]ec ';';
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 lS=' less'; # lS : less
alias mo=' most'; # mo : most|more
alias md=' mkdir'; # md : mkdir
alias rd=' rmdir'; # rd : rmdir
alias dm=' dmesg'; # dm : dmesg
alias mnt=' mount'; # mnt : mount
alias umnt=' umount'; # umnt : umount
alias scu='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 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 cln=' calQ ';
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
# (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)
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 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 msg=' mesg'; # msg : mesg|write
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
alias lsh=' lshw '; # lsh : lshw # useful when trying to get Ken setup with nVidia bin GeForce7 NV49 G71 driver, !nouveau
alias lsm=' lsmod'; # lsm : lsmod # HTTPS://Unix.StackExchange.Com/questions/85249/why-not-use-which-what-to-use-then DtAlz
alias lsc=' lscpu'; # lsc : lscpu
alias lsp=' lspci'; # lsp : lspci
alias lsu=' lsusb'; # lsu : lsusb
alias ren=' rename'; # might take just Perl quoted regex instead of $from $to before shell fileglob to alter;
alias rens="ren 's/ /_/g' *"; # simply REName all Spaces to proper underscores within any non-hidden files && sub-directories in the current-working-dir;
alias sho='cd ~/gfx/sho;shot -u'; # change to typical local Octology screenshot directory && take a shot of the focUsed window (no border) in 3 seconds
alias br0='byzanz-record -a -c -d 122 -w 1920 -h 1080 Octl-ScrnCap-1080p-`d8`.webm &'; # Byz-Rec up-left monitor 0 zer0 for 2mins2secs to non-ogg .ogv 4m@;
alias kaz='kazam';alias ssr='simplescreenrecorder'; # K6EMFMIC: HTTPS://ItsFOSS.Com/best-linux-screen-recorders with `obs` OpenBroadcasterSoftwareStudio;
alias kam='kamoso --style ddark >/dev/null 2>&1'; # KC8LDark:Avail:dsemilight,dsemidark,dlight,ddark,kvantum-dark,kvantum,cde && try2sNd stderorz
alias kad='kamoso --style kvantum-dark >/dev/null 2>&1'; # Stylz:cleanlooks,gtk2,motif,plastique,qt5ct-style,Windows,Fusion && stdoutpt2devnul;
alias resp=' reso spec'; # joining like =~ /^respect/ shortcut to list resolution specific8ionz # abovUsed2B S=shl,s=shl8 but S repurposed in a8 4 SKpz
alias resg=' res GA ';alias res=' reso';alias re='res'; # basic a8.pm resolution HD limit8ion (not to get confused with resoLVE or resoURCE varE8ionz)
alias resh=' re HD ';alias resa='re Andr';re16='re 16/9';alias re64='re 64/27';alias res9='re /9';alias rest='reso;res9;resp;re16;resg;resh;resa;re64';
alias reph='re Pi|gi pi;re HD|gi hd'; # Xmpl alias IsOl8ng m@chz cAse-sNsitivly4 reso && grep,but not gi,so just Pixelz in tItl thN HighDef # RESoTesTz abov
alias res8='reset;rest;w8 48;src8;rest'; # J12LFTst:wanting to test a bunch of resting && waiting instead of sleep within resetting the f8 pal8 col8 colr8n;
alias xical='xinput-calibrator';alias xic='xical';alias xbk='xbindkeys';alias xdt='xdotool';alias xd2='xdt'; # basic Chun touch-scrn&&X re-bind&&scrpt utlz
alias xwi='xwininfo';alias xwid='xwi -id';alias xgaw='xdt getactivewindow';alias xiaw='xwid `xgaw`'; # from Unix.StackExchange.Com q 14159 find wndwdimz?
alias xfs='xfontsel';alias ares='appres ';alias lsmo='fls|cut -f2 -d:|sort -u|gi Mono';alias fls='fc-list'; # mIt l8r Bcome Able 2 s/cut/c8/ && s/sort/s8/;
alias rx='ares XTerm|gi UTF8Fonts|sort'; # HTTPS://AskUbuntu.Com/questions/161652/how-to-change-the-default-font-size-of-xterm 2get Xterm font Resources;
alias xfds='xfd -fn "`xfs -print`" ';alias lsmf='fls :scalable=true:spacing=mono: family'; # XFontDisplaySelectd && LiStMonospcd Fontz 4l8r terminalz;
alias ctor='ctorrent -e 16 -z 64'; # abov: %eval $(xdotool getmouselocation --shell); %echo $X,$Y; will override Dflt $Y bright Yellow mapping with coordz
alias sig='signal-desktop'; # I7GMFSIG:installed HTTPS://Signal.Org on my Android phone && Aku/Oni here as likely better than Slack or Discord 4the future;
alias stdb='stdbuf -oL';alias sbam='stdb alsactl monitor'; # HTTPS://AskUbuntu.Com/questions/630564/cant-redirect-stdout-of-alsactl-monitor setz lIn-bufrd;
alias st4w='speaker-test -l4 -c2 -twav'; # K1VL3PCM:loop 4 times on -Ddefault ~/.asoundrc device with 2-channel stereo test /usr/share/sounds/alsa/ .wavs;
alias es='ecasound';alias eplay='es -o alsa -i';alias erec='es -i alsa'; # wrap ECASound similarly to `aplay` && `arecord` ALSA equivalent utilities;
alias pak='pulseaudio -k';alias pavl='pulseaudio -v --log-time';alias pavv='pavl -v'; # --kill running PA daemon && Verbose print with log-times 4Dbuging;
export PULSE_LATENCY_MSEC='64'; # JC7LNice:HTTPS://AskUbuntu.Com/questions/392911/wine-sound-is-played-way-too-fast-and-crackles-horribly to avoid underruns;
#xport OpenGL_GL_PREFERENCE='GLVND'; # or 'LEGACY'; See `cmake --help-policy CMP0072` for FindOpenGL policy details which prefer GLVND when it's available;
alias lvt='lv-tool'; # J28L8888:LibVisual 0.5 ~2014 > ~2006 0.4 && mAB w8,chti,thN fix ~/dvl/n8/viz/*plug* 4 bass kick snAr rEsponsz in hIgh contrastz;
alias lvp='lv-tool -i pulseaudio -s 888 -S 1200'; # setup LibViz 4 -vrbOs? -inpuls -seedrand; ## BlO blursk dblfrEmM coredumpz aftr 2nd unlOd! ##;
export lVSx=' -a lv_gltest -x lv_analyzer,lv_dump,madspin,nastyfft,nebulus,plazma,bumpscope,corona,gdkpixbuf,gforce,oinksie,blursk,goom2k4,jackdaw,lv_scope';
alias cad='cadence &';alias qjc='qjackctl &';alias past='pasystray &';alias pav='pavucontrol &'; # old @Mptz2get JACK 2working&&PulseAudioSysTray indic8or;
alias LVH='lVH -a lv_gltest -x lv_gltest,lcdcontrol,gdkpixbuf,nastyfft,bumpscope,goom2k4,blursk,madspin,gforce,lv_dump,nebulus,plazma,corona,flower';
alias lVH='lvp -D 640x400 '; # above from madspin on can keep being cycled thru without leaking mem && core-dumping, but are Xcluded Bcuz barely visual;
alias lvH='lvp -D 1280x800 ';alias lV="lvH $lVSx"; # upper-H 4 old HD720P, lower-h 4 dflt fullhd1080p, othrwIzkeptsAmsOfR; # only 6 lFt mAB nEd 4 2!segf?;
alias lvh='lvp -D 1920x1080';alias lv="lvh $lVSx"; # oinksie... lv-tool: malloc.c:4023 coredumpd mAB bAsd on pRam ordr? #; # proly not inflwrgltestjess! ;
alias LV='lvh -x lcdcontrol';alias sv='sonic-visualiser'; # K6BMGVis:just installed a new audio spectrum-analysis which is hopefully superior to libvis;
alias Lv='lvh -a lv_gltest -x lv_analyzer,lv_dump,lv_scope,lcdcontrol,gdkpixbuf,gforce,nastyfft,nebulus,bumpscope,flower,goom2k4,blursk,oinksie,plazma';
#lias Lv='lvh -a lv_gltest -x lv_gltest,lcdcontrol,gdkpixbuf,nastyfft,bumpscope,goom2k4,blursk'; # Xclude inactive plugins or mMlEkz causing core-dumpz;
alias Lv8='lv-tool -i pulseaudio -f 60 -s 8 -S 8888 -D 1918x1040 -a jess -x lv_analyzer,lv_dump,lv_scope,lcdcontrol,gdkpixbuf,gforce,nastyfft,nebulus,bumpscope,flower,goom2k4,blursk,oinksie,plazma,madspin,jakdaw'; # K87M1Lv8:just loop jess,lv_gltest,corona,infinite each 4 pretty long but usually stealfocus still;
alias p47='parsec47';alias a7='a7xpg'; # some of my favorite Kenta Cho Shmups ("Bullet-Hell") in /usr/games; ## munmap_chunk(): invalid ptrstilcordumpdx;
alias rr='rrootage';alias tt='torus-trooper';alias tf='tumiki-fighters'; # would be gr8 to study BulletML && explor own similRly themed varE8ions someday
alias xb='xboard';alias xbsf='xb -fcp stockfish -fUCI'; # gr8 Chess program wi shortcut to top StockFish engine as FirstChessProgram (&& -scp 2ndChesProg)
alias rune='pu ~/gmz/Rune;mv Jagex ~;S Kb;cat RS.pw;S ^;rs3-launcher/rs3-launcher;mv ~/Jagex .;po';alias RS='rune'; # K2HLIMMO:signdup4frE acct2plARSwiKyle;
alias Rune=' rune ';alias RuneScape='rune'; # hopefully setting up the RuneScape.Com aliasez I'm most likely to remember && want to use l8r 2 call launcher;
alias kpcl=' kpcli --kdb=~/.kp/pswd.kdb --histfile=/dev/null --no-recycle'; # 2!stor any hist or entry changes in /Backup or "/Recycle Bin" old dfalts
alias kp=' pu ~/.kp; kpc --kdb=pswd.kdb --histfile=/dev/null --no-recycle;chm 600 pswd.kdb;b pswd.kdb;po'; # alias2 kpcli-3.0 modwimor aliasz&&alInmNt
k8(){ KDBF='pswd';if [[ "$#" -gt 0 && "$1" != "" ]]; then KDBF=".$1"; fi; # if [[ $B64N =~ ^([a-zA-Z]w) ]]; then BNWH=${BNWH:s/ e / e }; fi; # Xmpl
if ! [[ $KDBF =~ .kdb$ ]]; then KDBF="${KDBF}.kdb"; # KDBF=".${1:gs/\^./}"; orig atMpt abov was trying2 GloblStrip all anchord stRt dotz,but syntax?
if ! [[ $KDBF =~ pswd ]]; then KDBF="${KDBF}." ; fi; fi; # so now just any non-default param for d8abase name getz forced hidN prEpNded dot &&apNd2
pu ~/.kp; # it would just be so much simpler if shell variable regex syntax could optionally resemble Perl, but then less arcana to learn about
if [[ -e $KDBF ]]; then # try to only load up whatever the default or priv8 specified file if it exists (&& should be read/writable to user alreD)
kpc --kdb=$KDBF --histfile=/dev/null --no-recycle;chm 600 $KDBF ; # might also want to chm 600 the file above before kpc too?
if [[ $KDBF =~ pswd ]]; then b $KDBF; fi; # ideally this should all behave quite similarly to just basic kp alias above && may replace it once same
else echo "k8 failed to loc8 ~/.kp/$KDBF;"; fi; # should print out passed in or manipul8d file when it didn't exist where it was expected to be openable
po;} # simply popd back to the original working directory before the default home d8abase directory was pushd added above the standard shell directory stack
alias Upc8='sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl;sudo chmod a+rx /usr/local/bin/youtube-dl;rmSS;hash -r';
alias Upw8='sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl;sudo chmod a+rx /usr/local/bin/youtube-dl;rmSS;hash -r';
alias Upi8='sudo -H pip install --upgrade youtube-dl ;rmSS;hash -r'; # see pypi docUmNt8n4morin4m8n about popUlRPython`pip`package-tool
alias UpU8='sudo youtube-dl -U;rmSS;hash -r'; # Octology::U8::Upd8 && ~/bin/Upd8 are similR but for ~/bin versn;
alias U8=' U2b8';alias U='U2b8 ';alias U2bk='Uk';alias u2bk='uk'; # shud l8r add 1-colm <98wId mOd&&some a8 autOcolrz 2furthr hIlIt mapngz
alias Ukey='en "m c b : togl volMute Caption Bakgr colr [ U2b-hotKey ]; Dn Up : lowr 5%vol (arowkyz) rais 5%vol;
p f n : Prevplayls toglFulsc Nextplayls (Escap=2exitf); Lt Rt : bkwd 5secs (arowkyz) 4wrd 5secs;
j k l : bkwd10secs toglpause 4wrd10secs (Space=2pause); , . : bkwd 1fram (ifpausd) 4wrd 1fram;
0-9 : jump to N *10% playbak position (Home/End=0/9); < > : slow down< playbkspd >up> fastr;"';
alias ukey='en "m c b:volu Muted toglCaptn Bakgr cycl;(Home/End= 0/9 2)> 0-9 :jmp% \$n*10 plabakpos =r8io %abs; < > :slow down< plabakspd >upup fast;
j k l:bkwd 10sec toglpausd 10sec 4wrd<(Spacebar=pause2);Lt Rt:bkwd -5sec arrowkeys +5sec 4wrd; , . :bkwd -1frm whenpausd +1frm 4wrd;
p f n:Prev plals toglFulsc plals Next<(Escapkey=exitf2);Dn Up:dec% -5vol arrowkeys +5vol %inc;"';
alias uky=' ec "j k l:bkwd 10sec toglpausd 10sec 4wrd<(Spc=pausHmEnd0-9); 0-9 :jmp% \$n*10 plabakpos =r8io %abs;Lt Rt:bkwd -5sec +5sec 4wrd; < > :slow down< >upup fast;
p f n:Prev plals toglFulsc plals Next<(Escapekey=exitf2);m c b:volu Muted toglCaptn Bakgr cycl;Dn Up:dec% -5vol +5vol %inc; , . :bkwd -1frm +1frm 4wrd;"';
alias Uk=' een "${R}m$G c$K b${W}:${B}togl${M}vol${R}Mute${G}Caption${K}Bakgr${C}colr${Y}[${G}U2b$C-${R}hot${r}Key${Y}]${W}${M}Dn$G Up${W}:${M}lowr${C}5${Y}%${w}vol${Y}(${O}arow${r}kyz${Y})${G}rais${C}5${Y}%${w}vol
${M}p$C f$B n${W}:${M}Prev${P}pla${c}ls${B}togl${C}Fulsc${B}Next${P}pla${c}ls${Y}(${O}Esc${W}=${g}2${R}exit${C}f${Y})${W}${Y}Lt$R Rt${W}:${B}bkwd${C}5${M}secs${Y}(${O}arow${r}kyz$Y)${R}4wrd${C}5${M}secs
${B}j$M k$R l${W}:${B}bkwd${G}10${M}sec${B}togl${M}pause${R}4wrd${G}10${M}sec${Y}(${M}Spc${W}=${g}2${M}pause${Y})${W}$B ,$M .$W :${B}bkwd${O}1${c}fram${Y}(if${M}pausd${Y})${R}4wrd${O}1${c}fram
$C 0$O-${R}9$W :${Y}jump${w}to$r N${C}*${G}10${Y}%${O}play${B}bak${P}position${Y}(${C}Hm${Y}/${R}End${W}=${C}0${Y}/${R}9${Y})${W}$M <$G >$W :${r}slow${M}down<${O}play${B}bk${c}spd${G}>up${K}fastr${W};"'; # squEzdout most spaces so whole keymap now fitz 80x4 term dimNsions,c turns Captions off but!togl on,no b bkgrnd
alias Uk2=' ee "${R}m$G c$K b${W}:${R}Mute${G}Caption${K}Bkgr${Y}[${G}U2b$C-${R}hot${r}Key${Y}]$W;${M}Dn$G Up${W}:${M}lowr${C}5${Y}%${w}vol${G}rais$W;${B}j$M k$R l${W}:${B}bkwd${G}10${M}secs${R}4wrd${Y}(${M}Spc${W}=${M}K${g}2${M}paus${Y})$W;$B ,$M .$W :${B}bkwd${O}1${c}frm${Y}(${M}pausd${Y})${R}4wrd$W;
${M}p$C f$B n${W}:${M}Prv${z}ls${C}Fulsc${B}Nxt${z}ls${Y}(${O}Esc${W}=${g}2${R}exit${C}f${Y})$W;${Y}Lt$R Rt${W}:${B}bkwd${C}5${M}secs${R}4wrd$W;$C 0$O-${R}9$W :${Y}jmp${R}N${C}*${G}10${Y}%${O}pla${P}pos${Y}(${C}Hm${Y}/${R}End${W}=${C}0${Y}/${R}9${Y})$W;$M <$G >$W :${r}slo${M}<down<${O}pla${c}spd${G}>up>$W;"';
# abov try2cram Uk in2 lt 160x2 (or 113x2 4now) wi just colrz 4 mAn Keyz
alias uk2=' ee "${R}m$G c$K b${W}:${B}togl${M}vol${R}Mute${G}Caption${K}Bakgr${C}colr${Y}[${G}U2b$C-${R}hot${r}Key${Y}]$W;${M}Dn$G Up${W}:${M}lowr${C}5${Y}%${w}vol${Y}(${O}arow${r}kyz${Y})${G}rais${C}5${Y}%${w}vol$W;${B}j$M k$R l${W}:${B}bkwd${G}10${M}sec${B}togl${M}pause${R}4wrd${G}10${M}sec${Y}(${M}Spc${W}=${g}2${M}pause${Y})$W;$B ,$M .$W :${B}bkwd${O}1${c}fram${Y}(if${M}pausd${Y})${R}4wrd${O}1${c}fram$W;
${M}p$C f$B n${W}:${M}Prev${P}pla${c}ls${B}togl${C}Fulsc${B}Next${P}pla${c}ls${Y}(${O}Esc${W}=${g}2${R}exit${C}f${Y})$W;${Y}Lt$R Rt${W}:${B}bkwd${C}5${M}secs${Y}(${O}arow${r}kyz$Y)${R}4wrd${C}5${M}secs$W;$C 0$O-${R}9$W :${Y}jump${w}to$r N${C}*${G}10${Y}%${O}play${B}bak${P}position${Y}(${C}Hm${Y}/${R}End${W}=${C}0${Y}/${R}9${Y})$W;$M <$G >$W :${r}slow${M}down<${O}play${B}bk${c}spd${G}>up>${K}fastr${W};"'; # try"2"cram Uk 80x4 in2 just 160x2 nstd (mAB 178+wId 2fit prmpt2wi -n)
alias uk='een "${R}m$G c$K b$W:${M}volu$R Muted$B togl${G}Captn$K Bakgr$C cycl$W;$Y(${C}Home$Y/${R}End$W=$C 0$Y/${R}9$g 2$Y)$W>$C 0$O-${R}9$W :${O}jmp$Y%$G \$${r}n$C*${G}10$O pla${B}bak${P}pos$W =${R}r8io$Y %${P}abs$W;$M <$G >$W :${r}slow$M down<$O pla${B}bak${c}spd$G >upup$K fast$W;
${B}j$M k$R l$W:${B}bkwd$G 10${M}sec$B togl${M}pausd$G 10${M}sec$R 4wrd$W<$Y(${M}Spacebar$W=${M}pause${g}2$Y)$W;${Y}Lt$R Rt$W:${B}bkwd$g -${C}5${M}sec$O arrow${r}keys$G +${C}5${M}sec$R 4wrd$W;$B ,$M .$W :${B}bkwd$g -${O}1${c}frm$w when${M}pausd$G +${O}1${c}frm$R 4wrd$W;
${M}p$C f$B n$W:${M}Prev$O pla${c}ls$B togl${C}Fulsc$O pla${c}ls$B Next$W<$Y(${O}Escap${r}key$W=${R}exit${C}f${g}2$Y)$W;${M}Dn$G Up$W:${M}dec$Y%$g -${C}5${M}vol$O arrow${r}keys$G +${C}5${M}vol$Y %${G}inc$W;"'; # should consider making new 1-column Uk varE8ion which auto-resizes term @start && only needs rescaling2Bbig
alias ukz='Uk;ec;uk'; # for clearest biggest, open Default 80x24 purple GnomTerm, resize to 97x5, scale up a couple times, then run just `Uk`
alias U2b=' ec "U2b=youtube-dl 2save file2probably runthru U2b4 aftr orbetr2Use U2b8..."; youtube-dl'; # precede dl with some of my help text
alias U2bm='U2b -o "%(title)s-tItL-%(uploader)s-uldr-%(extractor)s-Xtrc-%(id)s-IdNt-%(epoch)s-epch-%(upload_date)s-uldt-%(autonumber)s-otnm.%(ext)s" --restrict-filenames';
#lias U2b3='U2bm -x --audio-format=mp3 --audio-quality=0'; # just having --audio-format=mp3 was converting to just 32K quality =( hopefully 0 will improve
#lias U2ba='U2bm -x --audio-format=best --audio-quality=0'; # gst123 works admirably on most formats, but `mpg123 -Cv` is much nicer interface-wise
#lias mysrut='mysql -u root'; # used to also alias just my to the same, back when I was developing any MySQL code && had mysqld installed
#for ip in $( seq 1 254); do ping -c 1 192.168.8.$ip>/dev/null; # NAbl pb rEspnsbyapNdng "net.ipv4.icmp_echo_ignore_broadcasts=0" 2/etc/sysctl.conf
#[ $? -eq 0 ] && echo "192.168.8.$ip UP" || : ; # pb could probably `w8 4U` after each for a bit of welcome but forgot -c seconds?;
#done # instead of doing pingb below (or just pb), could run this for loop without needing to open systemz to DDoS thru configur8ion for broadcast response
alias psag='ps aux | grp ';alias pingb='ping 192.168.8.255 -b'; # ...or lern2Use`nmap -sP 192.168.8.1/24`nstd? or`arp-scan -l --interface=(eth|wlan)0`
alias psgi='psag -i ';alias psagi='psgi '; # add another pair of aliases for Ignoring-case with the Grep on Process-Snapshots aux;
# 2du:maybe redefine psag as function instead of just alias since secondary expansion on parameter which is also an alias is annoying && potential disaster;
alias idmg='identify ';alias idmv=' idmg -verbose '; # ImageMagick IDentify IMaGe utl && verbose probably needs | $PAGER
#lias ckya='w3m Mail.Yahoo.Com';alias gnuya='gnuyahoo -u=piptigger '; # !UsngYahoo!NEmor; Ubu brwsrz !inDflt rEpOz:Opera Vivaldi (mAB some othrz listed BlO);
#lias cktm='w3m HTTP://Time.Gov'; # need to enable JavaScript in w3m for redirect to /HTML5/ to work so maybe just use FireFox or Chrome
# 2du:ckot "QuteBrowser" non-plugin but minimal && fast Vim design, then Saka && WasaVi && Vimium for Chrom(e|ium) should offer small Vi emul8or in TextArea;
alias cu=' curl ';alias cus=' cu -s ';alias cs=' cus'; # setup Silent Collectn ofURLz wich mItBpIpd2 STDIN Lswer or rEdIrctd;
alias lsbr='lsb_release ';alias lsbc=' lsbr -sc ';alias lsba='lsbr -a '; # setupLinuxStandardsBase wiShrtCodnmz2quickckdistro; 2du:upd8LUT;
alias barr='barrier ';alias barc=' barrierc ';alias brc=' barc '; #ias brs='bars'; # GitHub debauchee/barrier 4koffSymlesSynergy1.9;
alias bars='barriers ';alias bar=' barr';alias br='bar ';alias bs=' bars '; # bc taken others tapered almost consistently
# mAB Ubu brwsrz:FireFox Chrom(e|ium) Epiphany Arora Dillo WebBrowser-App (cudinstl) QupZilla Konqueror NetSurf Links2 (!in acs) Yandex PaleMoon Midori Brave;
# nOt:crmm= chromium-browser requires snapd as of d8:K3DMIGHT so `apt-get remove`d both && will just rely on other web-browsers for now until no snapd DpNdNC;
alias crmm='chromium-browser ';alias crom=' google-chrome';alias crm='crom';alias epip='epiphany';alias aror='arora';alias dilo='dillo';alias lnx2='links2';
alias brav=' brave-browser ';alias brvb='brav';alias bb='brvb';alias tb='torb'; # prEfer prv8 tb&&bb&&ff mor than old (proly WebKit-based?) abovz now
alias torb='pu ~/bin/.tst/.tor-brwsr-linux64-8.0_en-US-I98MKtor;./start-tor-browser.desktop;po';alias tor='tb'; # new d8d locl v8.0 instal of sepR8 brwzr methd
alias qtbr='qutebrowser';alias qb='qtbr';alias mido='midori';alias mb='mido';
alias brwz='en "PipzBrwz: ff=FireFox, bb=Brave, qb=QtB, tb=Tor, crom=Chrome, crmm=Chromium, epip=Epiphany, aror=Arora, dilo=Dillo, lnx2=Links2;"'; # ec rEmIndr
alias 2lo=' perl -e "rename(\$_,lc) for @ARGV"'; # orig fIlnAm lOwrcAsng 1-lInr was ~/bin/tolo thN as 2lo but mAB zsh func can't stRt wi '2'? Alias workz tho!
alias j2k=' joy2key $TTY -terminal -rcfile ~/.joy2keyrc -axis Left Right Up Down -buttons a b c d e f g h i j &'; # IA6MAPJS:Reddit cmnt linkd map altrn8ive:
alias j2kx='joy2key -X -rcfile ~/.joy2keyrc &'; # HTTPS://GitHub.Com/jgeumlek/MoltenGamepad
alias glxg='glxgears -info -geometry 1920x1056+0+0'; # had to agi libssl-dev to configure opusfile, then below should be good to compress speech for Dad
alias opuse='echo "opusenc --bitrate 32 --vbr --artist GerryStuart,PipStuart --genre Radio --album FixTheRadio-0 --title FixTheRadio-0.0 --date `date +%Y-%m-%d` in.wav out.opus";
echo -n "opusenc --bitrate 32 --vbr --artist GerryStuart,PipStuart --genre Radio --album FixTheRadio-0 --title FixTheRadio-0.0 --date `date +%Y-%m-%d` in.wav out.opus"|xclip -si -se p -l 1';
#lias setfont='consolechars -f'; # fb lines on Gen: # setfont is its own sepR8 command now, so don't alias over it
alias fb6=' fbset 640x480-60 '; # 30
alias fb8=' fbset 800x600-100'; # 37
alias fb10='fbset 1024x768-100'; # 48
alias fb12='fbset 1280x1024-75'; # 64
alias fb16='fbset 1600x1200-76'; # 75
alias moz='/usr/local/mozilla/mozilla -P Pip >/dev/null 2>&1 &'; # from way back when I used Pip Profile (likely before FireFox) with Mozilla spewing warningz
alias irc='irssi';
#lias ircsdl=' irssi -c IRC.Perl.Org -n Pip '; #sdl # no longer using any b(itch)?x, switched completely to Perl-based Irssi.Org
#lias ircpl=' irssi -c IRC.Perl.Org -n Pip '; #perl #yapc (which might be renamed after 2016 to just ThePerlConference #tpc?)
#lias ircpl6=' irssi -c IRC.FreeNode.Org -n PipStuart'; #perl6 # might need Chat.FreeNode.Net instead? Changing nick destroys config form@ing
#lias ircrt=' irssi -c IRC.RT.Ru -n Pip ';alias irc='ircpl'; # probably wrapping in scrn like `sirc` below is preferred 2 any of these
#lias sc=' irssi -c IRC.Prison.Net -n PipStuart'; #soulcalibur # Uzd2Uz -n Pipsurugi ## `sx $AgN` "Attaching from inside of screen?\n" ##;
#lias srk=' irssi -c IRC.ServerCentral.Net -n PipStuart'; #srk # can also do -w evl2003 to include pswd && might need -p to chng port BlO
#lias srk=' irssi -c IRC.INet.Tele.Dk:6667 -n PipStuart'; #srk # altern8 IRC servers to try to connect to if otherz are down or net-split
# otherz: EFNet.Demon.Co.UK IRC.Nijenrode.Nl HomeLien.No QEast.Net # for ScreenOctology*.pm editz BlO had2rEplAc e wi vim for multi-fIl OpNng
alias swip='screen -wipe '; # learn how2 restore block cursor within multiplexed vim from the $TERM=screen.linux console (sEmz scrn mustXitB4 `curs` resetz)
alias scrn='screen -h 65535'; # might not need to temporarily change TERM for irc (or any of these if TERM becomes working screen.xterm-256color) below
alias s2du='pu ~/dox/2du;export TERM="xterm";scrn -S 2du -t 2du e 2;export TERM="xterm-256color";po';alias s2='s2du'; # Used2wrap2ovrId TERM=screen ,xterm betr
alias sirc='ct "irssi" ;scrn -S irc -t irc irssi ; ';alias si='sirc'; # don't need -c IRC.Perl.Org or -n Pip since specified in ~/.irssi/config now
alias sbrs='ct "bars" ;scrn -S brs -t brs zsh ; '; # also screen in some barrier (Synrg+) server&&client 2detatch from standrd terminal debug output
alias sbrc='ct "barc" ;scrn -S brc -t brc barrierc ; ';alias ssig='pu;scrn -S sig -t sig signal-desktop;po'; # might want to tst -x for cnfrm8 Xit !DtA?;
# since -x Screen refuses to attach from within itself, rejection can detect loop, but when cascading multiple screens,loopz R *NOT* auto-detected; take care!;
alias sfah='pu ~/.local/share/FoldingAtHome/;scrn -S fah -t fah zsh;po';alias sF='sfah'; # mIt want2just run`FAHClient`nstd of zsh 1st undr scrn,but not sure;
#/etc/fahclient/config.xml was aftr 9989 B4 runas # K3SMMJCo:wrapNrunyO!; # oye m8E arg I'm a pIr8 swabin the land-lubbr skalywag rum yOhO!
alias FaH='FAHClient --child --lifeline 9989 \
~/.local/share/FoldingAtHome/config.xml --run-as fahclient --pid-file=/var/run/fahclient.pid --daemon';
#lias s2du='pu ~/dox/2du;scrn -S 2du -t 2du e 2 ;po';alias s2='s2du'; # reverted to exporting TERM=xterm around s2 2mk vim statusbar dRk AgN
alias s2.d='pu ~/dox/2du;scrn -S 2.d -t 2.d e 2.du ;po';alias s2.='s2.d'; # mk new screen entry for editing 2.du as my current l8st ~/dox/2du/ list file
alias s28u='pu ~/dox/2du;scrn -S 8uf -t 8uf e 8 ;po';alias s28='s28u'; # leave legacy .txt below, from before proper switch to .utf since it holds afew
alias s28x='pu ~/dox/2du;scrn -S 8xt -t 8xt e 8 ;po';alias s2x='s28x'; # s8 is already aliased to sort; weird that e 8 didn't have e 2 problM
alias s8lc='pu ~/dox/2du;scrn -S 8lc -t 8lc e 8plc ;po';alias s8l='s8lc'; # elabor8ing out2 tRget all sepR8 doQmNtz stil mAntAnd as 2du EvN2ally
alias satl='pu ~/dox/2du;scrn -S atl -t atl e at.ls ;po';alias SA='satl';alias soa='pu ~/dvl/a8;scrn -S oa8 -t oa8 e a8.pm;po'; # OpenOctology *8.PlModulez
alias sb8a='pu ~/dox/2du;scrn -S b8a -t b8a e b8a.ls ;po';alias sb='sb8a';alias sob='pu ~/dvl/b8;scrn -S ob8 -t ob8 e b8.pm;po'; # Screen_lib/Octology/\w.pm
alias sbxl='pu ~/dox/2du;scrn -S bxl -t bxl e boox.ls ;po';alias sB='sbxl';alias scS=' scrn -S';alias sat=' sa '; # kinda similR2old e fIl.ls
alias scm8='pu ~/dox/2du;scrn -S cm8 -t cm8 e ckm8.utf;po';alias sc='scm8';alias soc='pu ~/dvl/c8;scrn -S oc8 -t oc8 e c8.pm;po'; # ..2Elabor8Uni4m abrEV8z
alias skno='pu ~/dox/2du;scrn -S kno -t kno e know.ls ;po';alias sk='skno';alias sod='pu ~/dvl/d8/lib/Octology;scS od8 -t od8 vim d8.pm d8/[df]??[8z].pm;po';
alias smul='pu ~/dox/2du;scrn -S mul -t mul e muz.ls ;po';alias Sm='smul';alias som='pu ~/dvl/m8/xml ;scS om8 -t om8 vim [MT][ei][rd]*[ey]/*.pm;po';
alias smvl='pu ~/dox/2du;scrn -S mvl -t mvl e mvz.ls ;po';alias SM='smvl';alias sop='pu ~/dvl/p8;scS op8 -t op8 vim [tmnp]??[hx8s]/[tmnp]??[hx8s].pm ;po';
alias sput='pu ~/dox/2du;scrn -S put -t put e putr.ls ;po';alias sP='sput';alias sot='pu ~/dvl/t8/Octl/Octology;scS ot8 -t ot8 vim *.md;po;en oupd,gac,gpom';
alias scvi='pu ~/dox/2du;scrn -S cvi -t cvi e scvi.ls ;po';alias sC='scvi'; # switching main fighting game emphasis from StreetFighterV to SoulCaliburVI;
alias ssfv='pu ~/dox/2du;scrn -S sfv -t sfv e sfv.utf8;po';alias sf='ssfv';alias sof='pu ~/dvl/f8;scrn -S of8 -t of8 e f8.pm;po'; # mABl8r vary4asOC8d binz2
alias stab='pu ~/dox/2du;scrn -S tab -t tab e tabz.ls ;po';alias sT='stab';alias sog='pu ~/dvl/g8;scrn -S og8 -t og8 e g8 ;po'; # not A sepR8 PlModule yet
alias stip='pu ~/dox/2du;scrn -S tip -t tip e tipz.ls ;po';alias sI='stip';alias soU='pu ~/dvl/U8;scrn -S ou8 -t ou8 e U8.pm;po';alias sou='soU'; # bOthKsez
alias sud8='pu ~/dox/2du;scrn -S ud8 -t ud8 e u.8. ;po';alias sU='sud8'; # mAB 2du hLpr wi rEorg && chng prspctv upd8d wi paired 8trm prep code 2 preT;
alias sud2='pu ~/dox/2du;scrn -S ud2 -t ud2 e ud2.ls ;po'; #ias sU='sud2'; # mAB 2du hLpr wi rEorg && chng prspctv on donez Ovrcomng prIOriTz?;
alias sdvl='pu ~/dvl ;scrn -S dvl -t dvl ;po';alias sd='sdvl'; # mAB some new sD can lOd Xtra Dvl lIk Utl Tk Time Math anythng else important
alias smuz='pu ~/muz ;scrn -S muz -t muz ;po';alias sm='smuz';alias so=' ob ';alias mob='ob';alias Obs='ob';alias OBS='ob';alias sobs=' ob';
alias smvz='pu ~/mvz ;scrn -S mvz -t mvz ;po';alias sM='smvz';alias Ob=' ob ';alias ob=' pu ~/muz/U2b;scrn -S mob -t mob g3 **/*Obs* ;po';
alias srut='pu /etc ;scrn -S rut -t rut sudo -E zsh;po';alias sr='srut';alias Ob8='lob';alias lob='pu ;l m[uv]z/**/*Obs*ate_*;po';
alias sadm='pu /root ;scrn -S adm -t adm sudo -E bash;po';alias sA='sadm'; #abovOb8 orig just listed: (Annihil|Deso|Domin|InitE|Obliter)8 B4XtNdng2alldirz
#lias sx=' scrn -x '; # would also B good 2 upd8 abov openingz of scrnz 2ck4 `scrn -ls $mtch` 4 already crE8d wich shud just B -x reattached 2 nstdofnew
sx() { scrn -x $@; } # unalias sx && redefining as simple function wrapper resolves parameter alias expansion problem (but still will glob), like ct;
scx() { if [[ "$#" -gt 0 ]]; then # print out some help text for -h (or l8r add --help) as first parameter && then return
if [[ "$1" =~ /^-*h/i ]]; then en 'sx crE8d by PipStuart <[email protected]> to wrap GNU screen -x multiplexing terminals;';return(0);
elif [[ "$1" == 2du ]]; then s2du;export HsxF="$1";export HxjF='1';
elif [[ "$1" == 8uf ]]; then s28u;export HsxF="$1";export HxjF='1';
elif [[ "$1" == 8xt ]]; then s28x;export HsxF="$1";export HxjF='1';
elif [[ "$1" == 8lc ]]; then s8lc;export HsxF="$1";export HxjF='1';
# elif [[ "$1" == atl ]]; then satl;
# elif [[ "$1" == b8a ]]; then sb8a;
# elif [[ "$1" == bxl ]]; then sbxl;
# elif [[ "$1" == cm8 ]]; then scm8;
# elif [[ "$1" == kno ]]; then skno;
# elif [[ "$1" == mul ]]; then smul;
# elif [[ "$1" == mvl ]]; then smvl;
# elif [[ "$1" == put ]]; then sput;
# elif [[ "$1" == cvi ]]; then scvi;
# elif [[ "$1" == sfv ]]; then ssfv;
# elif [[ "$1" == tab ]]; then stab;
# elif [[ "$1" == tip ]]; then stip;
# elif [[ "$1" =~ /^(2du|8uf|8xt|8lc|atl|b8a|bxl|cm8|kno|mul|mvl|put|cvi|sfv|tab|tip|ud8|dvl|muz|mvz|rut|adm|o[abcdfgmptu]8)$/ ]]; then ec "ARGV[0]=$1;";
else eval("s$1");export HsxF="$1";export HxjF='1' ; fi;
if [[ "$HxjF" == "" ]]; then scrn -x $@ ;echo "Scrn-x here:$@ ;"; fi
elif [[ "$HsxF" != "" ]]; then scrn -x "$HsxF";echo "Scrn-x HsxF:$HsxF;"; fi; }
# if scrn -ls has no $1 in Screen Sessions List, then dispatch to the correct screen session crE8or above, so more -x multipleXed can connect l8r;
#lias sls=' scrn -ls'; # stuD screenie 2mkOwn version. wrapd `scrn -ls` BlObutl8r tAkthOs b8 && d8 rE4m@z as valid pRamz2reattach2. rEplAc scrn wi autO sx;
alias SLS=' pabd "\$u=0;\$v=q(screen -ls);\$v.=qq( @ARGV) if(@ARGV > 0);\$S=\`\$v\`;while(\$S=~ /\t((\d+)\.(\S+)\s+\((\d+)\/(\d+)\/(\d+)\s+(\d+:\d+:\d+)\s+
([AP])M\)\t\(([AD])[te]tached\)\n)/x){\$L=\$1;\$I=q();\$I.=q( ) if(\$2 < (64**2));\$I.=b8c(b64(\$2));\$H=\$3;\$N=\$4;\$D=\$5;\$E=\$6;\$T=\$7;\$n=\$8;\$t=
\$9;\$x=S(q(Rr));\$d=2;\$t=\$x.\$t if(\$t=~ /D/);\$h=int(\$u++ / \$d)+1;if(!(\$u % \$d)){\$e=abs(\$d- 1)*abs(\$h- 0);\$S=~
s/^(.*([^\\n]*\\n){\$e}[^\\n]*)\\n/\$1/;\$S.=qq(Logic4DivideNotBy2StillBuggy:e=\$e;) if(0);}
if(\$n=~ /P/ && \$T=~ /^(\d+):/){\$h=\$1+12;\$h%=24;\$T=~ s/^(\d+):/\$h:/;} \$A= S( q(Ab));\$x=q(XtracmNt:Repurposd RedOnRed detached in2filr text;);
\$d=Octology::d8->new(q(full)=>\$Mon[\$N-1].q( ).\$D.q( ).\$T.q( ).\$E);\$e=\$d->colr(q(a) );\$S=~ s/\Q\$L\E/\$I\$K:\$A\$H\$z\t\$e \$G\$t\$z\n/igixi;};
\$S =~ s/(There)( are| is a)( screens?)( on)(:)/\$B\$1\$p\$2\$G\$3\$o\$4\$W\$5/gig;\$x=q(XtracmNt:sinc -ls tAk m@chpRam,1st passin ARGV B4wrap ZshLfunc;);
if(\$S=~ /(\d+)( Sockets?)( in )(.+)\..*/){\$s=b8c(b64(\$1));\$X=\$2;\$i=\$3;\$F=c8fn(\$4);\$x=q(XtracmNt:CmzlIk6.5solidsourclInz puttz mE undrpR4ashole;);
\$S=~ s/(\d+)( Sockets?)( in )(.+)\..*/\$s\$C\$X\$p\$i\$Y\$F\$W;\$z/;} \$S=~ s/\\t/ /g; #\$S=~ s/\\n//g;
chomp \$S;print \$S;"'; # 2du:migr8 SLS 2 proly U8.pm 4nEded [abd]8, ## Xtra nOte on chomp-lIkBhAvior in shL(bash @lEst): str="${str%\\n}"; #rEmvzfromNd;
# proly chop-off "There * screen* on:" 1st unimportant line && join last 2 lines so counted socketz with path follows list's last detaild entry mor compactly,
# prEpNd DtAlz list Ntryz wi b64 ndxz wich can Bcom altrn8 wA 2 pik session 2 scrn -x rEconect 2,add scls BlO 2 U8.pm also as sls -*h(elp)? duing bOth wi -*v,
# Xplor posibl or bSt wAz 2 autO-rEstor pal8z aftr Dtachng or Xiting from scrn sessionz (proly by trigering XeQt of just orig pal8 fIl or re-sourcing .zshrc);
alias sls='scls;SLS';alias lsl='scls;SLS';alias SL='SCLS;SLS'; # rEwrapd regUlR ScrnLiStDfltn@uralabrEV8nwitop21doQmNt8nmap prntBlOB4abov
alias SCLS='en "IA8ME8LS:LiSt ofL8St SCrnShortCut aLiaSeS: (scls lssc lscr lscrn lscreen):
2du: 2du.ls s2=s2du; put:putr.ls sP=sput; (aLSoL8r aLiaSd:LS SL lsl sls):
8uf:8.utf s28=s28x; sfv:sfv.utf8 sf=ssfv; # 2du:l8r sx \`scrn -x\` shudBcm
8lc:8plc* s8l=s8lc; tab:tabz.ls sT=stab; # funcn from alias 2 storENV
atl: at.ls sa=satl; tip:tipz.ls sI=stip; # of l8st titl pRam 2 Dfault;
b8a: b8a.ls sb=sb8a; irc:pl irssi si=sirc; ## P.S.this old varE8n deprc8d;
bxl:boox.ls sB=sbxl; rut:sudo zsh sr=srut; // pLuS my ob=obSidia pLaLiStS:
cm8:ckm8*tf sc=scm8; adm:sudobash sA=sadm; //\`sm;3 U*/Ob*ob*\`pLafvr8Cobra;
kno:know.ls sk=skno; dvl:cd ~/dvl sd=sdvl; // oblig8d Obscure && Obliter8,
mul: muz.ls Sm=smul; muz:cd ~/muz sm=smuz; // obsequious obtuse obviously,
mvl: mvz.ls SM=smvl; mvz:cd ~/mvz sM=smvz; // obov8 obrog8 obdur8 obfirm8,
// obfusc8 obimbric8 objectiv8 obsecr8 obcord8 obequit8 oblong observ8ion,
// obl8obluct8 obnoxious obnubil8 obscene obstetric8;"'; # 2du:mAB mv sa 2 sA && mk sa lIk ea 2 scrn OpN .zshrc && mk 1 4 .vimrc 2 && upd8 hLp tXtz,upd8 cmNtz;
alias lssc='scls';alias lscr='scls';alias lscrn='scls';alias lscreen='scls'; # 2du:contMpl8 bSt wA 2 Unify 234-char scrn session cmdz && cOdz&&crE8 or sx bak2;
alias scls='pabd "\$d=Octology::d8->new(q(IAGMLsls));\$S= ## everything is looking pretty tight && nicely color-highlighted for distinctions now
q[LiSt ofL8St SCrnShortCut aLiaSeS: (scls lssc lscr lscrn lscreen): // also l8r 2du:Dtecting width alreD done; ## nowBcAm obvious solid 7blok;
2du: 2du.ls s2=s2du; put:putr.ls sP=sput; (aLSoL8r aLiaSd:LS SL lsl sls): bxl:boox.ls sB=sbxl; rut:sudo zsh sr=srut; // pLuS my ob=obSidia pLaLiStS:
8uf:8.utf s28=s28x; cvi:scvi.ls sC=scvi; # 2du:l8r sx \`scrn -x\` shudBcom cm8:ckm8*tf sc=scm8; adm:sudobash sA=sadm; //\`sm;3 U*/Ob*ob*\`pLafvr8Cobra;
8lc:8plc* s8l=s8lc; tab:tabz.ls sT=stab; # funcn from alias 2 stor ENV kno:know.ls sk=skno; dvl:cd ~/dvl sd=sdvl; // oblig8d Obscure && Obliter8,
atl: at.ls sa=satl; tip:tipz.ls sI=stip; # of l8st titl pRam 2 Dfault, mul: muz.ls Sm=smul; muz:cd ~/muz sm=smuz; // obsequious obtuse obviously,
b8a: b8a.ls sb=sb8a; irc:pl irssi si=sirc; # upd8 this list colr 4 cstmz; mvl: mvz.ls SM=smvl; mvz:cd ~/mvz sM=smvz; // obov8 obrog8 obdur8 obfirm8,
// obfusc8 obimbric8 objectiv8 obsecr8 obcord8 obequit8 oblong observ8ion, // obl8obluct8 obnoxious obnubil8 obscene obstetric8;]; \$e=S(Rc);
\$S=~ s/(; )/\$M\$1/g; \$S=~ s/(\\@)/\$B\$1\$Y/g;\$S=~ s/(&&*) /\$e\$1\$z\$Y /g;\$S=~ s/(\`)/\$R\$1\$G/g;\$S=~ s/(\\w{1,4}\\.)(txt)/\$W\$1\$W\$2/g;\$e=S(Gr);
\$S=~ s/(;)(\\n)/\$e\$1\$z\$2/;\$e=S(Yb);\$S=~ s/(;)( )/\$e\$1\$z\$2/; \$e=S(Cb);\$S=~ s/(;)(\\n)/\$e\$1\$z\$2/; # custm cmNt termn8r semicolonz
\$S=~ s/(\\w{4}\\*)(xt)/\$W\$1\$W\$2/;\$S=~ s/(pLa\\w+)/\$Y\$1\$R/g;\$e=S(Or);\$S=~ s/(aLSoL8r aLiaSd)(:)/\$g\$1\$B\$2\$R/;\$S=~ s/(;)( ##)/\$e\$1\$z\$2/;
\$S=~ s/ (2du)(:)/ \$B\$1\$m\$2\$Y/g; \$e=S(Cb); \$S=~ s/(##+) /\$e\$1\$z\$c /g;\$e=S(Rb);\$S=~ s/(;)\$/\$e\$1\$z/;\$e=S(Wb); # && final Nding semicolon
\$S=~ s/(,)/\$B\$1\$G/g;\$S=~ s/(\\*)/\$w\$1\$G/g;\$S=~ s/ (#) / \$e\$1\$z\$C /g;\$e=S(ob);\$S=~ s/(\\w{1,4}\\.)(ls )/\$C\$1\$C\$2/g; ## nOt:manynotyetincl;
\$S=~ s/(\\s)(\\w{3})(:)/\$1\$e\$2\$z\$R\$3\$Y/g; \$S=~ s/(8plc)/\$G\$1/; \$e=S(Yb);\$S=~ s/(\\()/\$p\$1\$R/g;\$S=~ s/(\\/)(Ob)/\$Y\$1\$G\$2/;
\$S=~ s/(\\s)(\\w+)(=)(\\w{4})/\$1\$e\$2\$z\$C\$3\$z\$4/g; \$e=S(yK);\$S=~ s/(\\))(:)/\$p\$1\$G\$2/g;\$S=~ s/(pl )/\$B\$1\$G/;
\$S=~ s/(cd )(~)(\\/)(\\w+)/\$c\$1\$B\$2\$Y\$3\$B\$4\$G/g;\$S=~ s/(\\/{2})/\$e\$1\$z\$Y/g ;\$S=~ s/(sudo)/\$r\$1\$G/g; \$S=~ s/(aLiaSeS)(:)/\$1\$o\$2/;
\$S=~ s/(l8r sx )/\$C\$1/;\$S=~ s/( shudBcom)/\$C\$1/;if(\$ENV{COLUMNS} < 160){\$S=~ s/ 7blok/14blok/;\$S=~ s/(\\s{4,})/\\n/g;@S= split(/\\n/,\$S);
\$S=\$S[0].qq(\\n).\$S[2].qq(\\n).\$S[4].qq(\\n).\$S[6].qq(\\n).\$S[8].qq(\\n).\$S[10].qq(\\n).\$S[3].qq(\\n).\$S[5].qq(\\n).\$S[7].qq(\\n).\$S[9].qq(\\n).
\$S[11].qq(\\n).\$S[ 1].qq(\\n).\$S[12].qq(\\n).\$S[13];} \$S=~ s/(-)/\$Y\$1\$G/g;\$S=~ s/(\\.)/\$M\$1\$G/g;print \$d->colr(q(a)),\$Y,q(:),\$C,\$S;"';
# 2du:upgrAd sls to buffer a quick DtachmNt LS rECv 2 C if last attached aftr mAB pull from wndO tItl aftr:colon 2 try wut 2 -x confirm if in rEcNt stil? ;
#There are screens on: # 17836.b8a (10/03/2018 04:09:10 AM) (Detached) # /defhijlnqstuvx/i + AZ are sOlOz avAl 4 golf abov (aftr a8 sOlO color Xportz);
# cangiv m@chpRam now; # 5604.irc (10/02/2018 07:48:46 PM) (Attached)\n#2 Sockets in /run/screen/S-pip. # SCreenLiStcmnd=S,ScreenLINe=L,PRocessIDnt=I,
#lias g3=' gst123 '; # replaced by Xpct XperimNt # sux2havnOsyntxhIlIt # ScreenTiTL(PID.TTY.Host)=H,moNth=N,Day=D,yEar=E,Time=T,afterNoon=n,deTached=t,
alias m3=' mpg123 '; # replace wi Xpct l8r too # butsumvrynIcalInmNt # Hour=h,d8OBject=d,d8colrEskaped=e,Socketcount=s,soX=X,In=i,screenpathFilenm=F,
#lias m1=' mpg321 '; # replace wi Xpct l8r too # guessngaboutARGVthO # eXtra_detached_color_with_red_background=x (mOmNtary modific8ionB4cmNt filrz);
#lias m0=' mpr0 '; # replace wi Xpct l8r too; already replaced by function below for now! # OMG! Such consistNtly blockedout p@rnz of alInmNt abov;
alias dvdb=' dvdbackup -M -p';alias dvdbak='dvdb'; # default DVD backups -Mirroring full disc into current working directory && upd8ing d8a copy -progress
# H7IM3Qvo:mplyr -vo help; MPlayer 1.3.0 (Debian), built with gcc-6.3.0 (C) 2000-2016 MPlayer Team; Available video output drivers: # pretty old optnz now
# vdpau X11 VDPAU fbdev Framebuffer Device xvmc XVideo Motion Compensation
# xv X11/Xv fbdev2 Framebuffer Device mpegpes MPEG-PES to DVB card
# X11 X11 ( XImage/Shm ) aa AAlib yuv4mpeg yuv4mpeg output for mjpegtools
# xover General X11 drvr4overlay capable vidout drvrz caca libcaca png PNG file
# sdl SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!) v4l2 V4L2 MPEG Video Decoder Output jpeg JPEG file
# gl_nosw OpenGL no software rendering directfb Direct Framebuffer Device gif89a animated GIF output
# gl OpenGL dfbmga DirectFB/Matrox G200/G400/G450/G550 tga Targa output
# gl_tiled X11 (OpenGL) - multiple textures version xvidix X11 (VIDIX) pnm PPM/PGM/PGMYUV file
# matrixview (OpenGL) MatrixView cvidix console VIDIX md5sum md5sum of each frame
# dga DGA (Direct Graphic Access V2.0) null Null video output # drvrz listd in likely most useful ordr(&&bak2 xv fixd stutr);
# -fixed-vo only with xv, x11, xvidix, gl, gl_tiled, && svga (ignoring irrelevant Matrox); # swapping mp && mplyr alias dFinitionz due2frEquNC of use&&mM;
# K1DLDSDL:upd8d mp to use -ao sdl or openal since they don't seem to stutter, but alsa under-runs && stops right away && pulse skips quite annoyingly 4 now;
alias mplyr='mplayer';alias mplr='mplyr';alias mplx='mpx -loop 0'; # EBIL4AcZ:upgrAded all putrs2 mplayer2 sO nEdz --no-keepaspect 2sKl 2full wndw dimNsionz;
alias mpp=' mplr -vo xv -fixed-vo -ao pulse -cache 16384 -cache-min 64'; # shudtrydif -vo (xv was Dfalt) 4per4manc;`mplr -ao help`4list;
alias mpa=' mplr -vo xv -fixed-vo -ao alsa -cache 16384 -cache-min 64';alias ov='cd ~/mvz;mpx $(ls **/*[OV][ob][sn]*|shfl)'; #Obs+Vnk;
alias mp=' mplr -vo xv -fixed-vo -ao sdl -cache 16384 -cache-min 64';alias vo='cd ~/mvz;mplx $(ls **/*[VO][ob][sn]*|shfl)'; #Vnl+Obs;
mpls () { if [[ $# -gt 0 ]]; then mp $(ls $@|shfl); else mp $(ls|shfl); fi; } # MPlayer LiSting paramz piped thru basic ShfL. try2add -z && -Z options;
alias mpns='cd ~/mvz/U2b/nxt;mp $(ls B* Dr* *Tut* Ex* M* O*-Res* Var* *Trap* *Trap* *Boy*|shfl);cd ..'; # mk MPlyrNxtShfl 4quik favor8 mvz Drub&&Trap vidzls;
alias mpx=' mp -fs';alias vnk='cd ~/mvz/U2b;mpx vnk/V?n?k*';alias vnl='cd;mvz/U2b/;mplx vnk/V?n?k*'; #-x 1920 -y 1080'; had -noborder but thN cud!mv wndw;
alias mplo=' mplr -vo xv -fixed-vo -ao sdl -cache 16384 -cache-min 88 -framedrop -delay -4 -autosync 30 -demuxer +lavfpref -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all -v ~/mvz/U2b/nxt/O*On*'; # try to play Obsidia One_Winged_Angel thru SDL audio since Pulse stutters && ALSA totally freezes up;
alias mj=' mjoin'; mjoin() {ffmpeg -i $1 -i $2 -acodec copy -vcodec copy $3;};alias Vnk='cd ~/mvz/U2b/vnk;mpx *Doo* *Kob* *Str*'; # IB6LExci:in ~/.tmp/ aftr;
alias ffll='ffmpeg -loglevel verbose -i'; # should now just take single Input filename to do verbose logging of details about, mainly for me looking up dur8nz;