Add more filetypes to .dir_colors
This commit is contained in:
parent
c132fbf54b
commit
071189983e
|
@ -1,8 +1,7 @@
|
||||||
# shellcheck disable=SC2155
|
# shellcheck disable=SC2183,SC2155
|
||||||
|
|
||||||
# Print date on login
|
# Print date on login
|
||||||
printf '\e[1m\e[91m%s \e[90m- \e[36m%s\e[m\n\n' \
|
printf '\e[1m\e[91m%(%A, %B%e, %Y)T \e[90m- \e[36m%(%Z %z)T\e[m\n\n'
|
||||||
"$(date +%A,\ %B\ %e,\ %Y)" "$(date +%Z\ %:::z)"
|
|
||||||
|
|
||||||
# Ctrl + Space to expand command
|
# Ctrl + Space to expand command
|
||||||
bind '\C-Space':magic-space
|
bind '\C-Space':magic-space
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
--output "%(title)s.%(ext)s"
|
--output "%(title)s.%(ext)s"
|
||||||
|
|
||||||
# Specify a custom user agent.
|
# Specify a custom user agent.
|
||||||
--user-agent "Mozilla/5.0 (X11; Linux x86_64) youtube-dl/2019.05.20"
|
--user-agent "Mozilla/5.0 (X11; Linux x86_64) youtube-dl/2019.06.08"
|
||||||
|
|
||||||
# vim:ft=conf:
|
# vim:ft=conf:
|
||||||
|
|
||||||
|
|
54
.dir_colors
54
.dir_colors
|
@ -27,26 +27,26 @@ TERM xterm-256color
|
||||||
# for ((n=0;++n<256;)) { printf "\033[48;5;${n}m$n\033[000m "; }
|
# for ((n=0;++n<256;)) { printf "\033[48;5;${n}m$n\033[000m "; }
|
||||||
|
|
||||||
# File types {{{
|
# File types {{{
|
||||||
BLK 48;5;232;38;5;11 # block device driver
|
BLK 48;5;232;38;5;11 # block device driver
|
||||||
CAPABILITY 48;5;196;38;5;226 # file with capability
|
CAPABILITY 48;5;196;38;5;226 # file with capability
|
||||||
CHR 48;5;232;38;5;3 # character device driver
|
CHR 48;5;232;38;5;3 # character device driver
|
||||||
DIR 38;5;27 # directory
|
DIR 38;5;27 # directory
|
||||||
DOOR 38;5;5 # door
|
DOOR 38;5;5 # door
|
||||||
EXEC 38;5;34 # file with execute permission (+x)
|
EXEC 38;5;34 # file with execute permission (+x)
|
||||||
FIFO 40;38;5;11 # pipe
|
FIFO 40;38;5;11 # pipe
|
||||||
FILE 00 # normal file, use no color at all
|
FILE 00 # normal file, use no color at all
|
||||||
LINK 38;5;51 # symbolic link
|
LINK 38;5;51 # symbolic link
|
||||||
MISSING 48;5;232;38;5;15 # file pointed to by an orphan link
|
MISSING 48;5;232;38;5;15 # file pointed to by an orphan link
|
||||||
MULTIHARDLINK 44;38;5;15 # regular file with more than one link
|
MULTIHARDLINK 44;38;5;15 # regular file with more than one link
|
||||||
NORMAL 00 # global default, no color code at all
|
NORMAL 00 # global default, no color code at all
|
||||||
ORPHAN 48;5;232;38;5;9 # symlink to nonexistent file, or non-stat'able file
|
ORPHAN 48;5;232;38;5;9 # symlink to nonexistent file, or non-stat'able file
|
||||||
OTHER_WRITABLE 48;5;10;38;5;21 # dir that is other-writable (o+w) and not sticky
|
OTHER_WRITABLE 48;5;10;38;5;21 # dir that is other-writable (o+w) and not sticky
|
||||||
RESET 0 # reset to "normal" color
|
RESET 0 # reset to "normal" color
|
||||||
SETGID 48;5;11;38;5;16 # file that is setgid (g+s)
|
SETGID 48;5;11;38;5;16 # file that is setgid (g+s)
|
||||||
SETUID 48;5;196;38;5;15 # file that is setuid (u+s)
|
SETUID 48;5;196;38;5;15 # file that is setuid (u+s)
|
||||||
SOCK 38;5;13 # socket
|
SOCK 38;5;13 # socket
|
||||||
STICKY 48;5;21;38;5;15 # dir with the sticky bit set (+t) and not other-writable
|
STICKY 48;5;21;38;5;15 # dir with the sticky bit set (+t) and not other-writable
|
||||||
STICKY_OTHER_WRITABLE 48;5;10;38;5;16 # dir that is sticky and other-writable (+t,o+w)
|
STICKY_OTHER_WRITABLE 48;5;10;38;5;16 # dir that is sticky and other-writable (+t,o+w)
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
# File extensions {{{
|
# File extensions {{{
|
||||||
|
@ -70,16 +70,24 @@ STICKY_OTHER_WRITABLE 48;5;10;38;5;16 # dir that is sticky and other-writable (+
|
||||||
.ace 38;5;247
|
.ace 38;5;247
|
||||||
.apk 38;5;247
|
.apk 38;5;247
|
||||||
.arj 38;5;247
|
.arj 38;5;247
|
||||||
|
.br 38;5;247
|
||||||
.bz 38;5;247
|
.bz 38;5;247
|
||||||
.bz2 38;5;247
|
.bz2 38;5;247
|
||||||
|
.cb7 38;5;247
|
||||||
|
.cbr 38;5;247
|
||||||
|
.cbz 38;5;247
|
||||||
|
.cbt 38;5;247
|
||||||
.cpio 38;5;247
|
.cpio 38;5;247
|
||||||
.deb 38;5;247
|
.deb 38;5;247
|
||||||
.dz 38;5;247
|
.dz 38;5;247
|
||||||
|
.egg 38;5;247
|
||||||
.gz 38;5;247
|
.gz 38;5;247
|
||||||
.jar 38;5;247
|
.jar 38;5;247
|
||||||
|
.kra 38;5;247
|
||||||
.lz 38;5;247
|
.lz 38;5;247
|
||||||
.lzh 38;5;247
|
.lzh 38;5;247
|
||||||
.lzma 38;5;247
|
.lzma 38;5;247
|
||||||
|
.ora 38;5;247
|
||||||
.rar 38;5;247
|
.rar 38;5;247
|
||||||
.rpm 38;5;247
|
.rpm 38;5;247
|
||||||
.rz 38;5;247
|
.rz 38;5;247
|
||||||
|
@ -91,9 +99,10 @@ STICKY_OTHER_WRITABLE 48;5;10;38;5;16 # dir that is sticky and other-writable (+
|
||||||
.tlz 38;5;247
|
.tlz 38;5;247
|
||||||
.txz 38;5;247
|
.txz 38;5;247
|
||||||
.tz 38;5;247
|
.tz 38;5;247
|
||||||
|
.whl 38;5;247
|
||||||
.xz 38;5;247
|
.xz 38;5;247
|
||||||
.z 38;5;247
|
|
||||||
.Z 38;5;247
|
.Z 38;5;247
|
||||||
|
.z 38;5;247
|
||||||
.zip 38;5;247
|
.zip 38;5;247
|
||||||
.zoo 38;5;247
|
.zoo 38;5;247
|
||||||
# }}}
|
# }}}
|
||||||
|
@ -102,6 +111,8 @@ STICKY_OTHER_WRITABLE 48;5;10;38;5;16 # dir that is sticky and other-writable (+
|
||||||
.apng 38;5;13
|
.apng 38;5;13
|
||||||
.bmp 38;5;13
|
.bmp 38;5;13
|
||||||
.bpg 38;5;13
|
.bpg 38;5;13
|
||||||
|
.eps 38;5;13
|
||||||
|
.exr 38;5;13
|
||||||
.flif 38;5;13
|
.flif 38;5;13
|
||||||
.gif 38;5;13
|
.gif 38;5;13
|
||||||
.heic 38;5;13
|
.heic 38;5;13
|
||||||
|
@ -120,6 +131,7 @@ STICKY_OTHER_WRITABLE 48;5;10;38;5;16 # dir that is sticky and other-writable (+
|
||||||
.pcx 38;5;13
|
.pcx 38;5;13
|
||||||
.pgm 38;5;13
|
.pgm 38;5;13
|
||||||
.png 38;5;13
|
.png 38;5;13
|
||||||
|
.psd 38;5;13
|
||||||
.ppm 38;5;13
|
.ppm 38;5;13
|
||||||
.svg 38;5;13
|
.svg 38;5;13
|
||||||
.svgz 38;5;13
|
.svgz 38;5;13
|
||||||
|
|
|
@ -53,9 +53,11 @@
|
||||||
[merge]
|
[merge]
|
||||||
tool = fugitive
|
tool = fugitive
|
||||||
|
|
||||||
|
[mergetool]
|
||||||
|
keepBackup = false
|
||||||
|
|
||||||
[mergetool "fugitive"]
|
[mergetool "fugitive"]
|
||||||
cmd = nvim -f -c \"Gvdiff\" \"$MERGED\"
|
cmd = nvim -f -c \"Gvdiff\" \"$MERGED\"
|
||||||
keepBackup = false
|
|
||||||
|
|
||||||
[pretty]
|
[pretty]
|
||||||
log = format:%h %s%d [%cn] (%ad)
|
log = format:%h %s%d [%cn] (%ad)
|
||||||
|
|
|
@ -186,8 +186,8 @@ Target = usr/bin/firefox-developer-edition
|
||||||
[Action]
|
[Action]
|
||||||
Description = Disabling Firefox downgrade protection
|
Description = Disabling Firefox downgrade protection
|
||||||
When = PostTransaction
|
When = PostTransaction
|
||||||
Exec = /bin/sed -e 's/"\$@"/-allow-downgrade &/' \
|
Exec = /bin/sed -i /usr/bin/firefox-developer-edition \
|
||||||
-i /usr/bin/firefox-developer-edition
|
-e 's/exec/GTK_USE_PORTAl=1 &/;s/"\$@"/-allow-downgrade &/'
|
||||||
EOF
|
EOF
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue