You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. kind = "numeric cset 0123456789-_.:,%"
  2. kind = "capsdoc cset ABCDEFGHIJKLMNOPQRSTUVWXYZ_-."
  3. kind = "object SFX .o .a .la .so .pyc .pyo .dvi .elc .obj"
  4. kind = "script SFX .pl .awk .elv .sh .csh .gpi akefile .log .nims .R .js .scm .lsp .cfg .cf .conf"
  5. kind = "compress SFX .z .gz .bz .bz2 .lz .Lz .xz 4z .zs .zs"
  6. kind = "tarchive SFX .tar .tgz .tbz .tbz2 .tlz .txz .tLz .tzs"
  7. kind = "archive SFX .zip .rar .deb .rpm"
  8. kind = "pointer SFX .torrent .uri .url .urls"
  9. kind = "backup SFX .swp .vim .bak .orig ~"
  10. kind = "header sfx .h .hh .pxi .pxd .diff .patch"
  11. kind = "source sfx .s .c .cc .cpp .d .i .java .f .f95 .m .nb .py .pyx .nim .vim .el .tex .fig .jl"
  12. kind = "document sfx .txt .doc .html .htm .ps .eps .pdf .prn .mif .fm .md .rst"
  13. kind = "image sfx .img .bmp .jpg .gif .jpeg .png .ppm"
  14. kind = "audio sfx .opus .au .mp3 .wav .ogg .m4a"
  15. kind = "video sfx .mpg .mpeg .mp4 .avi .flv .ogm .mkv .m4v .mts .m2ts .wmv .mov .swf .asf .rm .webm"
  16. kind = "dot PFX ." #classic Unix dot file/dir/ln/etc.
  17. kind = "onOutErr PFX o. e." #outputs from cb's "on hosts cmd" system
  18. kind = "core PFX core"
  19. colors = "fhot- = black"
  20. colors = "fhot0 = PURPLE"
  21. colors = "fhot1 = BLUE"
  22. colors = "fhot2 = CYAN"
  23. colors = "fhot3 = GREEN"
  24. colors = "fhot4 = YELLOW"
  25. colors = "fhot5 = RED"
  26. colors = "fhot+ = WHITE"
  27. colors = "FHOT- = BLACK"
  28. colors = "FHOT0 = purple"
  29. colors = "FHOT1 = blue"
  30. colors = "FHOT2 = cyan"
  31. colors = "FHOT3 = green"
  32. colors = "FHOT4 = yellow"
  33. colors = "FHOT5 = red"
  34. colors = "FHOT+ = white"
  35. colors = "bhot- = on_black"
  36. colors = "bhot0 = on_PURPLE"
  37. colors = "bhot1 = on_BLUE"
  38. colors = "bhot2 = on_CYAN"
  39. colors = "bhot3 = on_GREEN"
  40. colors = "bhot4 = on_YELLOW"
  41. colors = "bhot5 = on_RED"
  42. colors = "bhot+ = on_WHITE"
  43. colors = "BHOT- = on_BLACK"
  44. colors = "BHOT0 = on_purple"
  45. colors = "BHOT1 = on_blue"
  46. colors = "BHOT2 = on_cyan"
  47. colors = "BHOT3 = on_green"
  48. colors = "BHOT4 = on_yellow"
  49. colors = "BHOT5 = on_red"
  50. colors = "BHOT+ = on_white"
  51. color="dot:0x04:1 NONE"
  52. color="onOutErr:0xF0:0 FHOT-"
  53. color="compress:0x3D:0 fhot1"
  54. color="tarchive:0x3E:0 fhot1"
  55. color="archive:0x3F:0 fhot1"
  56. color="audio:0x70:0 fhot0"
  57. color="image:0x71:0 fhot0"
  58. color="video:0x72:0 fhot0"
  59. color="script:0x40:0 fhot4"
  60. color="pointer:0x50:0:ɷ FHOT0"
  61. color="header:0x58:0 fhot2"
  62. color="source:0x60:0 fhot3"
  63. color="object:0x68:0 fhot5"
  64. color="core:0x68:0 fhot5"
  65. color="backup:0x80:0 FHOT4"
  66. color="capsdoc:0x23:0 fhot+"
  67. color="numeric:0x21:0 fhot+"
  68. color="document:0x24:0 fhot+"
  69. color="symlink:0x10:1 italic"
  70. color="dir:0x20:0 BLUE bold"
  71. color="reg:0x65:1 NONE"
  72. color="cdev:0x30:0 YELLOW on_purple"
  73. color="bdev:0x40:1 CYAN on_purple"
  74. color="fifo:0x50:1 BLUE on_purple"
  75. color="socket:0x60:1 WHITE on_purple"
  76. color="-sym:0x10:2 blink" #early since no stat data to use
  77. #color="CAP:0x10:2 blink"
  78. #color="ACL:0x10:2 blink"
  79. color="hard:0x80:2 underline" #maybe inverse or struck?
  80. color="odd:0x30:3 on_RED" #early since combines many things
  81. color="+sym:0x18:3 italic"
  82. color="tmpD:0x20:3 YELLOW" #clobber FG only->yellow on_blue
  83. color="suid:0x50:3 on_CYAN" #pastel backgrounds for sXid
  84. color="sgid:0x60:3 on_green"
  85. color="worldW:0x40:4 on_RED" #world writable higherD 2clobber
  86. #struck can sometimes be hard to read text; hence hard to read dirents get it:
  87. color="unR:0xF8:5 struck" #unreadable or isDir & no-exec
  88. color="exec:0x70:6:¶ bold"
  89. color="unknown:0x22:0 NONE" #Added if missing;Here to set ord
  90. color = "sizeB fhot1" #Value-conditional fields besides paths
  91. color = "sizeK fhot2"
  92. color = "sizeM fhot3"
  93. color = "sizeG fhot4"
  94. color = "sizeT fhot5 inverse" #TB-scl individual files are likely a problem
  95. color = "sizeS italic" #Additive text attr for sparse files (u<75%)
  96. #Color all 4 octal digs as how only one affects invoking process (dep on owners)
  97. color = "perm0 WHITE on_purple" #000: --- #Not so rare, but very restrictive
  98. color = "perm1 fhot1" #001: --x #rare, but happens w/eg. suid
  99. color = "perm2 CYAN on_red" #010: -w- #unlikely to be correct
  100. color = "perm3 GREEN on_red" #011: -wx #unlikely to be correct
  101. color = "perm4 fhot2" #100: r-- #RO: pretty normal.
  102. color = "perm5 fhot3" #101: r-x #color like 'exec' is colored.
  103. color = "perm6 fhot4" #110: rw- #RW: even more normal
  104. color = "perm7 fhot5" #111: rwx #Only so many yellows..Orange?
  105. ageFmt = "86400@%{fhot0}y%{fhot1}m%{fhot2}d"
  106. ageFmt = "0@%{fhot3}H%{fhot4}M%{fhot5}S"
  107. ageFmt = "FUTURE@%{red}Y%{white}m"
  108. ageFmt = "-ANYTIME@%y/%m/%d:%H:%M:%S.%3"
  109. ageFmt = "+31556952@/31556952 <y fhot0"
  110. ageFmt = "+2678400@/604800 <w fhot1"
  111. ageFmt = "+86400@/86400 <d fhot2"
  112. ageFmt = "+6000@/3600 <h fhot3"
  113. ageFmt = "+100@/60 <m fhot4"
  114. ageFmt = "+0@/1 <s fhot5"
  115. #LISTING STYLES/ALIASES; Increasing "L-ness" gives increasing detail. NOTE: Use
  116. #%r if you worry about automounters/NFS hanging on link tgts. Also, -f below
  117. #should really end in "*4 if you ask me,but stdlib parsecfg sez "invalid token".
  118. Style = r"""s = -X./. "-f%s %f"""
  119. Style = r"""S = -DLss"""
  120. Style = r"""psa = -l -X./. "-f%P %S %f%R"""
  121. Style = r"""ps = -s psa -xdot"""
  122. # Same as above+ showing times
  123. Style = r"""la = -l -X./. "-f%P %s %m %f%R"""
  124. Style = r"""l = -s la -xdot"""
  125. Style = r"""ls = -s l -os"""
  126. Style = r"""lu = -s l -oa "-f%P %s %a %f%R"""
  127. Style = r"""lm = -s l -om "-f%P %s %m %f%R"""
  128. Style = r"""lt = -s l -om "-f%P %s %m %f%R"""
  129. Style = r"""lv = -s l -ov "-f%P %s %v %f%R"""
  130. Style = r"""lc = -s l -oc "-f%P %s %c %f%R"""
  131. Style = r"""lb = -s l -ob "-f%P %s %b %f%R"""
  132. # Same as above+ showing owner
  133. Style = r"""lla = -Hl -X./. "-f%P %{bold}U %s %m %f%R"""
  134. Style = r"""ll = -Hslla -xdot"""
  135. Style = r"""lls = -Hsll -os"""
  136. Style = r"""llu = -Hsll -oa "-f%{bold}U %P %s %a %f%R"""
  137. Style = r"""llm = -Hsll -om "-f%{bold}U %P %s %m %f%R"""
  138. Style = r"""llt = -Hsll -om "-f%{bold}U %P %s %m %f%R"""
  139. Style = r"""llv = -Hsll -ov "-f%{bold}U %P %s %v %f%R"""
  140. Style = r"""llc = -Hsll -oc "-f%{bold}U %P %s %c %f%R"""
  141. Style = r"""llb = -Hsll -ob "-f%{bold}U %P %s %b %f%R"""
  142. # Show most things:
  143. Style = r"""La = -Hl -X./. "-f%o %P %n %{bold}U %{italic}G %S %M %f%R"""
  144. Style = r"""L = -HsLa -xdot"""
  145. Style = r"""Ls = -HsL -os"""
  146. Style = r"""Lu = -HsL -oa "-f%n %o %{bold}U %{italic}G %P %S %A %f%R"""
  147. Style = r"""Lm = -HsL -om "-f%n %o %{bold}U %{italic}G %P %S %M %f%R"""
  148. Style = r"""Lt = -HsL -om "-f%n %o %{bold}U %{italic}G %P %S %M %f%R"""
  149. Style = r"""Lv = -HsL -ov "-f%n %o %{bold}U %{italic}G %P %S %V %f%R"""
  150. Style = r"""Lc = -HsL -oc "-f%n %o %{bold}U %{italic}G %P %S %C %f%R"""
  151. Style = r"""Lb = -HsL -ob "-f%n %o %{bold}U %{italic}G %P %S %B %f%R"""
  152. #All but rdev. 4 time stamps => either terse file ages | wide terminals.
  153. Style = r"""LLa = -HX./ "-f%n %o %S %P %{bold}U %{italic}G %B %C %M %A %f%R"""
  154. Style = r"""LL = -HsLLa -xdot"""
  155. Style = r"""LLai = -HX./ "-f%i %n %o %S %P %{bold}U %{italic}G %B %C %M %A %f%R"""
  156. Style = r"""LLi = -HsLLai -xdot"""
  157. Style = r"""debug = -H "-f%0%1%2%3%4%5%6%7%8%9%.%/ %f%R"""
  158. #Almost exactly GNU ls -lA --no-color
  159. Style = r"""gls = "-tp1g -> " --ageFmt,= --ageFmt,= "-a-15778476@%b %e %Y" "-a-0@%b %e %H:%M" -of "-f%l%p%Q %n %U %G %S %m %f%r"""
  160. glyph = "▶ "
  161. order = 0134EN #Default sort order: kind-order0,1; fmtKindNum0,1; longExt,Nm
  162. format = "%@%f"