Useful CLI tools (bash) for Arch Linux administration
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.

708 lines
19 KiB

5 years ago
  1. # LS_COLORS
  2. # Maintainers: Magnus Woldrich <m@japh.se>,
  3. # Ryan Delaney <ryan.delaney@gmail.com> OpenGPG: 0D98863B4E1D07B6
  4. # URL: https://github.com/trapd00r/LS_COLORS
  5. # Version: 0.254
  6. # Updated: Tue Mar 29 21:25:30 AEST 2016
  7. #
  8. # This is a collection of extension:color mappings, suitable to use as your
  9. # LS_COLORS environment variable. Most of them use the extended color map,
  10. # described in the ECMA-48 document; in other words, you'll need a terminal
  11. # with capabilities of displaying 256 colors.
  12. #
  13. # As of this writing, around 300 different filetypes/extensions is supported.
  14. # That's indeed a lot of extensions, but there's a lot more! Therefore I need
  15. # your help.
  16. #
  17. # Fork this project on github, add the extensions you are missing, and send me
  18. # a pull request.
  19. #
  20. # For files that usually ends up next to each other, like html, css and js,
  21. # try to pick colors that fit nicely together. Filetypes with multiple
  22. # possible extensions, like htm and html, should have the same color.
  23. # This program is distributed in the hope that it will be useful, but WITHOUT ANY
  24. # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  25. # PARTICULAR PURPOSE. See the Perl Artistic License for more details.
  26. #
  27. # This program is free software: you can redistribute it and/or modify it under
  28. # the terms of the Perl Artistic License as published by the Perl Foundation,
  29. # either version 1.0 of the License, or (at your option) any later version.
  30. #
  31. # You should have received a copy of the Perl Artistic License along
  32. # with this program. If not, see <http://www.perlfoundation.org/artistic_license_1_0>.
  33. # core {{{1
  34. BLK 38;5;68
  35. CAPABILITY 38;5;17
  36. CHR 38;5;113;1
  37. DIR 38;5;30
  38. DOOR 38;5;127
  39. EXEC 38;5;208;1
  40. FIFO 38;5;126
  41. FILE 0
  42. LINK target
  43. MULTIHARDLINK 38;5;222;1
  44. # "NORMAL don't reset the bold attribute -
  45. # https://github.com/trapd00r/LS_COLORS/issues/11
  46. #NORMAL 38;5;254
  47. NORMAL 0
  48. ORPHAN 48;5;196;38;5;232;1
  49. OTHER_WRITABLE 38;5;220;1
  50. SETGID 48;5;3;38;5;0
  51. SETUID 38;5;220;1;3;100;1
  52. SOCK 38;5;197
  53. STICKY 38;5;86;48;5;234
  54. STICKY_OTHER_WRITABLE 48;5;235;38;5;139;3
  55. *LS_COLORS 48;5;89;38;5;197;1;3;4;7 # :-)
  56. # }}}
  57. # documents {{{1
  58. *README 38;5;220;1
  59. *README.rst 38;5;220;1
  60. *LICENSE 38;5;220;1
  61. *COPYING 38;5;220;1
  62. *INSTALL 38;5;220;1
  63. *COPYRIGHT 38;5;220;1
  64. *AUTHORS 38;5;220;1
  65. *HISTORY 38;5;220;1
  66. *CONTRIBUTORS 38;5;220;1
  67. *PATENTS 38;5;220;1
  68. *VERSION 38;5;220;1
  69. *NOTICE 38;5;220;1
  70. *CHANGES 38;5;220;1
  71. .log 38;5;190
  72. # plain-text {{{2
  73. .txt 38;5;253
  74. # markup {{{2
  75. .etx 38;5;184
  76. .info 38;5;184
  77. .markdown 38;5;184
  78. .md 38;5;184
  79. .mkd 38;5;184
  80. .nfo 38;5;184
  81. .pod 38;5;184
  82. .rst 38;5;184
  83. .tex 38;5;184
  84. .textile 38;5;184
  85. # key-value, non-relational data {{{2
  86. .json 38;5;178
  87. .msg 38;5;178
  88. .pgn 38;5;178
  89. .rss 38;5;178
  90. .xml 38;5;178
  91. .yaml 38;5;178
  92. .yml 38;5;178
  93. .RData 38;5;178
  94. .rdata 38;5;178
  95. # }}}
  96. # binary {{{2
  97. .cbr 38;5;141
  98. .cbz 38;5;141
  99. .chm 38;5;141
  100. .djvu 38;5;141
  101. .pdf 38;5;141
  102. .PDF 38;5;141
  103. # words {{{3
  104. .docm 38;5;111;4
  105. .doc 38;5;111
  106. .docx 38;5;111
  107. .eps 38;5;111
  108. .ps 38;5;111
  109. .odb 38;5;111
  110. .odt 38;5;111
  111. .rtf 38;5;111
  112. # presentation {{{3
  113. .odp 38;5;166
  114. .pps 38;5;166
  115. .ppt 38;5;166
  116. .pptx 38;5;166
  117. # Powerpoint show
  118. .ppts 38;5;166
  119. # Powerpoint with enabled macros
  120. .pptxm 38;5;166;4
  121. # Powerpoint show with enabled macros
  122. .pptsm 38;5;166;4
  123. # spreadsheet {{{3
  124. .csv 38;5;78
  125. # Open document spreadsheet
  126. .ods 38;5;112
  127. .xla 38;5;76
  128. # Excel spreadsheet
  129. .xls 38;5;112
  130. .xlsx 38;5;112
  131. # Excel spreadsheet with macros
  132. .xlsxm 38;5;112;4
  133. # Excel module
  134. .xltm 38;5;73;4
  135. .xltx 38;5;73
  136. # }}}
  137. # }}}
  138. # configs {{{2
  139. *cfg 1
  140. *conf 1
  141. *rc 1
  142. .ini 1
  143. .plist 1
  144. # vim
  145. .viminfo 1
  146. # cisco VPN client configuration
  147. .pcf 1
  148. # adobe photoshop proof settings file
  149. .psf 1
  150. # }}}
  151. # }}}
  152. # code {{{1
  153. # version control {{{2
  154. .git 38;5;197
  155. .gitignore 38;5;240
  156. .gitattributes 38;5;240
  157. .gitmodules 38;5;240
  158. # shell {{{2
  159. .awk 38;5;172
  160. .bash 38;5;172
  161. .bat 38;5;172
  162. .BAT 38;5;172
  163. .sed 38;5;172
  164. .sh 38;5;172
  165. .zsh 38;5;172
  166. .vim 38;5;172
  167. # interpreted {{{2
  168. .ahk 38;5;41
  169. # python
  170. .py 38;5;41
  171. # perl
  172. .pl 38;5;208
  173. .PL 38;5;160
  174. .t 38;5;114
  175. # sql
  176. .msql 38;5;222
  177. .mysql 38;5;222
  178. .pgsql 38;5;222
  179. .sql 38;5;222
  180. # Tool Command Language
  181. .tcl 38;5;64;1
  182. # R language
  183. .r 38;5;49
  184. .R 38;5;49
  185. # GrADS script
  186. .gs 38;5;81
  187. # compiled {{{2
  188. #
  189. # assembly language
  190. .asm 38;5;81
  191. # LISP
  192. .cl 38;5;81
  193. .lisp 38;5;81
  194. # lua
  195. .lua 38;5;81
  196. # Moonscript
  197. .moon 38;5;81
  198. # C
  199. .c 38;5;81
  200. .C 38;5;81
  201. .h 38;5;110
  202. .H 38;5;110
  203. .tcc 38;5;110
  204. # C++
  205. .c++ 38;5;81
  206. .h++ 38;5;110
  207. .hpp 38;5;110
  208. .hxx 38;5;110
  209. .ii 38;5;110
  210. # method file for Objective C
  211. .M 38;5;110
  212. .m 38;5;110
  213. # Csharp
  214. .cc 38;5;81
  215. .cs 38;5;81
  216. .cp 38;5;81
  217. .cpp 38;5;81
  218. .cxx 38;5;81
  219. # Crystal
  220. .cr 38;5;81
  221. # Google golang
  222. .go 38;5;81
  223. # fortran
  224. .f 38;5;81
  225. .for 38;5;81
  226. .ftn 38;5;81
  227. # pascal
  228. .s 38;5;110
  229. .S 38;5;110
  230. # Rust
  231. .rs 38;5;81
  232. # Swift
  233. .swift 38;5;219
  234. # ?
  235. .sx 38;5;81
  236. # interface file in GHC - https://github.com/trapd00r/LS_COLORS/pull/9
  237. .hi 38;5;110
  238. # haskell
  239. .hs 38;5;81
  240. .lhs 38;5;81
  241. # binaries {{{2
  242. # compiled apps for interpreted languages
  243. .pyc 38;5;240
  244. # }}}
  245. # html {{{2
  246. .css 38;5;125;1
  247. .less 38;5;125;1
  248. .sass 38;5;125;1
  249. .scss 38;5;125;1
  250. .htm 38;5;125;1
  251. .html 38;5;125;1
  252. .jhtm 38;5;125;1
  253. .mht 38;5;125;1
  254. .eml 38;5;125;1
  255. .mustache 38;5;125;1
  256. # }}}
  257. # java {{{2
  258. .coffee 38;5;074;1
  259. .java 38;5;074;1
  260. .js 38;5;074;1
  261. .jsm 38;5;074;1
  262. .jsm 38;5;074;1
  263. .jsp 38;5;074;1
  264. # }}}
  265. # php {{{2
  266. .php 38;5;81
  267. # CakePHP view scripts and helpers
  268. .ctp 38;5;81
  269. # Twig template engine
  270. .twig 38;5;81
  271. # }}}
  272. # vb/a {{{2
  273. .vb 38;5;81
  274. .vba 38;5;81
  275. .vbs 38;5;81
  276. # 2}}}
  277. # Build stuff {{{2
  278. *Dockerfile 38;5;155
  279. .dockerignore 38;5;240
  280. *Makefile 38;5;155
  281. *MANIFEST 38;5;243
  282. *pm_to_blib 38;5;240
  283. # automake
  284. .am 38;5;242
  285. .in 38;5;242
  286. .hin 38;5;242
  287. .scan 38;5;242
  288. .m4 38;5;242
  289. .old 38;5;242
  290. .out 38;5;242
  291. .SKIP 38;5;244
  292. # }}}
  293. # patch files {{{2
  294. .diff 48;5;197;38;5;232
  295. .patch 48;5;197;38;5;232;1
  296. #}}}
  297. # graphics {{{1
  298. .bmp 38;5;97
  299. .tiff 38;5;97
  300. .tif 38;5;97
  301. .TIFF 38;5;97
  302. .cdr 38;5;97
  303. .gif 38;5;97
  304. .ico 38;5;97
  305. .jpeg 38;5;97
  306. .JPG 38;5;97
  307. .jpg 38;5;97
  308. .nth 38;5;97
  309. .png 38;5;97
  310. .psd 38;5;97
  311. .xpm 38;5;97
  312. # }}}
  313. # vector {{{1
  314. .ai 38;5;99
  315. .eps 38;5;99
  316. .epsf 38;5;99
  317. .drw 38;5;99
  318. .ps 38;5;99
  319. .svg 38;5;99
  320. # }}}
  321. # video {{{1
  322. .avi 38;5;114
  323. .divx 38;5;114
  324. .IFO 38;5;114
  325. .m2v 38;5;114
  326. .m4v 38;5;114
  327. .mkv 38;5;114
  328. .MOV 38;5;114
  329. .mov 38;5;114
  330. .mp4 38;5;114
  331. .mpeg 38;5;114
  332. .mpg 38;5;114
  333. .ogm 38;5;114
  334. .rmvb 38;5;114
  335. .sample 38;5;114
  336. .wmv 38;5;114
  337. # mobile/streaming {{{2
  338. .3g2 38;5;115
  339. .3gp 38;5;115
  340. .gp3 38;5;115
  341. .webm 38;5;115
  342. .gp4 38;5;115
  343. .asf 38;5;115
  344. .flv 38;5;115
  345. .ts 38;5;115
  346. .ogv 38;5;115
  347. .f4v 38;5;115
  348. # }}}
  349. # lossless {{{2
  350. .VOB 38;5;115;1
  351. .vob 38;5;115;1
  352. # }}}
  353. # audio {{{1
  354. .3ga 38;5;137;1
  355. .S3M 38;5;137;1
  356. .aac 38;5;137;1
  357. .au 38;5;137;1
  358. .dat 38;5;137;1
  359. .dts 38;5;137;1
  360. .fcm 38;5;137;1
  361. .m4a 38;5;137;1
  362. .mid 38;5;137;1
  363. .midi 38;5;137;1
  364. .mod 38;5;137;1
  365. .mp3 38;5;137;1
  366. .mp4a 38;5;137;1
  367. .oga 38;5;137;1
  368. .ogg 38;5;137;1
  369. .opus 38;5;137;1
  370. .s3m 38;5;137;1
  371. .sid 38;5;137;1
  372. .wma 38;5;137;1
  373. # lossless
  374. .ape 38;5;136;1
  375. .aiff 38;5;136;1
  376. .cda 38;5;136;1
  377. .flac 38;5;136;1
  378. .alac 38;5;136;1
  379. .midi 38;5;136;1
  380. .pcm 38;5;136;1
  381. .wav 38;5;136;1
  382. .wv 38;5;136;1
  383. .wvc 38;5;136;1
  384. # }}}
  385. # fonts {{{1
  386. .afm 38;5;66
  387. .fon 38;5;66
  388. .fnt 38;5;66
  389. .pfb 38;5;66
  390. .pfm 38;5;66
  391. .ttf 38;5;66
  392. .otf 38;5;66
  393. # postscript fonts
  394. .PFA 38;5;66
  395. .pfa 38;5;66
  396. # }}}
  397. # archives {{{1
  398. .7z 38;5;40
  399. .a 38;5;40
  400. .arj 38;5;40
  401. .bz2 38;5;40
  402. .cpio 38;5;40
  403. .gz 38;5;40
  404. .lrz 38;5;40
  405. .lz 38;5;40
  406. .lzma 38;5;40
  407. .lzo 38;5;40
  408. .rar 38;5;40
  409. .s7z 38;5;40
  410. .sz 38;5;40
  411. .tar 38;5;40
  412. .tgz 38;5;40
  413. .xz 38;5;40
  414. .z 38;5;40
  415. .Z 38;5;40
  416. .zip 38;5;40
  417. .zipx 38;5;40
  418. .zoo 38;5;40
  419. .zpaq 38;5;40
  420. .zz 38;5;40
  421. # packaged apps {{{2
  422. .apk 38;5;215
  423. .deb 38;5;215
  424. .rpm 38;5;215
  425. .jad 38;5;215
  426. .jar 38;5;215
  427. .cab 38;5;215
  428. .pak 38;5;215
  429. .pk3 38;5;215
  430. .vdf 38;5;215
  431. .vpk 38;5;215
  432. .bsp 38;5;215
  433. .dmg 38;5;215
  434. # }}}
  435. # segments from 0 to three digits after first extension letter {{{2
  436. .r[0-9]{0,2} 38;5;239
  437. .zx[0-9]{0,2} 38;5;239
  438. .z[0-9]{0,2} 38;5;239
  439. # partial files
  440. .part 38;5;239
  441. # }}}
  442. # partition images {{{2
  443. .dmg 38;5;124
  444. .iso 38;5;124
  445. .bin 38;5;124
  446. .nrg 38;5;124
  447. .qcow 38;5;124
  448. .sparseimage 38;5;124
  449. .toast 38;5;124
  450. .vcd 38;5;124
  451. .vmdk 38;5;124
  452. # }}}
  453. # databases {{{2
  454. .accdb 38;5;60
  455. .accde 38;5;60
  456. .accdr 38;5;60
  457. .accdt 38;5;60
  458. .db 38;5;60
  459. .fmp12 38;5;60
  460. .fp7 38;5;60
  461. .localstorage 38;5;60
  462. .mdb 38;5;60
  463. .mde 38;5;60
  464. .sqlite 38;5;60
  465. .typelib 38;5;60
  466. # NetCDF database
  467. .nc 38;5;60
  468. # }}}
  469. # tempfiles {{{1
  470. # undo files
  471. .pacnew 38;5;33
  472. .un~ 38;5;241
  473. .orig 38;5;241
  474. # backups
  475. .BUP 38;5;241
  476. .bak 38;5;241
  477. .o 38;5;241 # *nix Object file (shared libraries, core dumps etc)
  478. .rlib 38;5;241 # Static rust library
  479. # temporary files
  480. .swp 38;5;244
  481. .swo 38;5;244
  482. .tmp 38;5;244
  483. .sassc 38;5;244
  484. # state files
  485. .pid 38;5;248
  486. .state 38;5;248
  487. *lockfile 38;5;248
  488. # error logs
  489. .err 38;5;160;1
  490. .error 38;5;160;1
  491. .stderr 38;5;160;1
  492. # state dumps
  493. .dump 38;5;241
  494. .stackdump 38;5;241
  495. .zcompdump 38;5;241
  496. .zwc 38;5;241
  497. # tcpdump, network traffic capture
  498. .pcap 38;5;29
  499. .cap 38;5;29
  500. .dmp 38;5;29
  501. # macOS
  502. .DS_Store 38;5;239
  503. .localized 38;5;239
  504. .CFUserTextEncoding 38;5;239
  505. # }}}
  506. # hosts {{{1
  507. # /etc/hosts.{deny,allow}
  508. .allow 38;5;112
  509. .deny 38;5;196
  510. # }}}
  511. # systemd {{{1
  512. # http://www.freedesktop.org/software/systemd/man/systemd.unit.html
  513. .service 38;5;45
  514. *@.service 38;5;45
  515. .socket 38;5;45
  516. .swap 38;5;45
  517. .device 38;5;45
  518. .mount 38;5;45
  519. .automount 38;5;45
  520. .target 38;5;45
  521. .path 38;5;45
  522. .timer 38;5;45
  523. .snapshot 38;5;45
  524. # }}}
  525. # metadata {{{1
  526. .application 38;5;116
  527. .cue 38;5;116
  528. .description 38;5;116
  529. .directory 38;5;116
  530. .m3u 38;5;116
  531. .m3u8 38;5;116
  532. .md5 38;5;116
  533. .properties 38;5;116
  534. .sfv 38;5;116
  535. .srt 38;5;116
  536. .theme 38;5;116
  537. .torrent 38;5;116
  538. .urlview 38;5;116
  539. # }}}
  540. # encrypted data {{{1
  541. .asc 38;5;192;3
  542. .bfe 38;5;192;3
  543. .enc 38;5;192;3
  544. .gpg 38;5;192;3
  545. .signature 38;5;192;3
  546. .sig 38;5;192;3
  547. .p12 38;5;192;3
  548. .pem 38;5;192;3
  549. .pgp 38;5;192;3
  550. .asc 38;5;192;3
  551. .enc 38;5;192;3
  552. .sig 38;5;192;3
  553. # 1}}}
  554. # emulators {{{1
  555. .32x 38;5;213
  556. .cdi 38;5;213
  557. .fm2 38;5;213
  558. .rom 38;5;213
  559. .sav 38;5;213
  560. .st 38;5;213
  561. # atari
  562. .a00 38;5;213
  563. .a52 38;5;213
  564. .A64 38;5;213
  565. .a64 38;5;213
  566. .a78 38;5;213
  567. .adf 38;5;213
  568. .atr 38;5;213
  569. # nintendo
  570. .gb 38;5;213
  571. .gba 38;5;213
  572. .gbc 38;5;213
  573. .gel 38;5;213
  574. .gg 38;5;213
  575. .ggl 38;5;213
  576. .ipk 38;5;213 # Nintendo (DS Packed Images)
  577. .j64 38;5;213
  578. .nds 38;5;213
  579. .nes 38;5;213
  580. # Sega
  581. .sms 38;5;213
  582. # }}}
  583. # unsorted {{{1
  584. #
  585. # Portable Object Translation for GNU Gettext
  586. .pot 38;5;7
  587. # CAD files for printed circuit boards
  588. .pcb 38;5;7
  589. # groff (rendering app for texinfo)
  590. .mm 38;5;7
  591. # perldoc
  592. .pod 38;5;7
  593. # GIMP brush
  594. .gbr 38;5;7
  595. # printer spool file
  596. .spl 38;5;7
  597. # GIMP project file
  598. .scm 38;5;7
  599. # RStudio project file
  600. .Rproj 38;5;11
  601. # Nokia Symbian OS files
  602. .sis 38;5;7
  603. .1p 38;5;7
  604. .3p 38;5;7
  605. .cnc 38;5;7
  606. .def 38;5;7
  607. .ex 38;5;7
  608. .example 38;5;7
  609. .feature 38;5;7
  610. .ger 38;5;7
  611. .map 38;5;7
  612. .mf 38;5;7
  613. .mfasl 38;5;7
  614. .mi 38;5;7
  615. .mtx 38;5;7
  616. .pc 38;5;7
  617. .pi 38;5;7
  618. .plt 38;5;7
  619. .pm 38;5;7
  620. .rb 38;5;7
  621. .rdf 38;5;7
  622. .rst 38;5;7
  623. .ru 38;5;7
  624. .sch 38;5;7
  625. .sty 38;5;7
  626. .sug 38;5;7
  627. .t 38;5;7
  628. .tdy 38;5;7
  629. .tfm 38;5;7
  630. .tfnt 38;5;7
  631. .tg 38;5;7
  632. .vcard 38;5;7
  633. .vcf 38;5;7
  634. .xln 38;5;7
  635. # AppCode files
  636. .iml 38;5;166
  637. # Xcode files
  638. .xcconfig 1
  639. .entitlements 1
  640. .strings 1
  641. .storyboard 38;5;196
  642. .xcsettings 1
  643. .xib 38;5;208
  644. # }}}
  645. # termcap {{{1
  646. TERM ansi
  647. TERM color-xterm
  648. TERM con132x25
  649. TERM con132x30
  650. TERM con132x43
  651. TERM con132x60
  652. TERM con80x25
  653. TERM con80x28
  654. TERM con80x30
  655. TERM con80x43
  656. TERM con80x50
  657. TERM con80x60
  658. TERM cons25
  659. TERM console
  660. TERM cygwin
  661. TERM dtterm
  662. TERM Eterm
  663. TERM eterm-color
  664. TERM gnome
  665. TERM gnome-256color
  666. TERM jfbterm
  667. TERM konsole
  668. TERM kterm
  669. TERM linux
  670. TERM linux-c
  671. TERM mach-color
  672. TERM mlterm
  673. TERM putty
  674. TERM rxvt
  675. TERM rxvt-256color
  676. TERM rxvt-cygwin
  677. TERM rxvt-cygwin-native
  678. TERM rxvt-unicode
  679. TERM rxvt-unicode-256color
  680. TERM rxvt-unicode256
  681. TERM screen
  682. TERM screen-256color
  683. TERM screen-256color-bce
  684. TERM screen-bce
  685. TERM screen-w
  686. TERM screen.linux
  687. TERM screen.rxvt
  688. TERM terminator
  689. TERM vt100
  690. TERM xterm
  691. TERM xterm-16color
  692. TERM xterm-256color
  693. TERM xterm-88color
  694. TERM xterm-color
  695. TERM xterm-debian
  696. # }}}
  697. # vim: ft=dircolors:fdm=marker:et:sw=2: