From 071189983e6d713d9db1b90ff4063712a6c52053 Mon Sep 17 00:00:00 2001 From: ObserverOfTime Date: Tue, 11 Jun 2019 16:44:42 +0300 Subject: [PATCH] Add more filetypes to .dir_colors --- .bash_profile | 5 ++-- .config/youtube-dl/config | 2 +- .dir_colors | 54 ++++++++++++++++++++++++--------------- .gitconfig | 4 ++- .local/arch/init.sh | 4 +-- 5 files changed, 41 insertions(+), 28 deletions(-) diff --git a/.bash_profile b/.bash_profile index 9261c2d..047e689 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,8 +1,7 @@ -# shellcheck disable=SC2155 +# shellcheck disable=SC2183,SC2155 # Print date on login -printf '\e[1m\e[91m%s \e[90m- \e[36m%s\e[m\n\n' \ - "$(date +%A,\ %B\ %e,\ %Y)" "$(date +%Z\ %:::z)" +printf '\e[1m\e[91m%(%A, %B%e, %Y)T \e[90m- \e[36m%(%Z %z)T\e[m\n\n' # Ctrl + Space to expand command bind '\C-Space':magic-space diff --git a/.config/youtube-dl/config b/.config/youtube-dl/config index 64f5834..85a7a33 100644 --- a/.config/youtube-dl/config +++ b/.config/youtube-dl/config @@ -20,7 +20,7 @@ --output "%(title)s.%(ext)s" # 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: diff --git a/.dir_colors b/.dir_colors index 1c9f5fd..ddfe572 100644 --- a/.dir_colors +++ b/.dir_colors @@ -27,26 +27,26 @@ TERM xterm-256color # for ((n=0;++n<256;)) { printf "\033[48;5;${n}m$n\033[000m "; } # File types {{{ -BLK 48;5;232;38;5;11 # block device driver -CAPABILITY 48;5;196;38;5;226 # file with capability -CHR 48;5;232;38;5;3 # character device driver -DIR 38;5;27 # directory -DOOR 38;5;5 # door -EXEC 38;5;34 # file with execute permission (+x) -FIFO 40;38;5;11 # pipe -FILE 00 # normal file, use no color at all -LINK 38;5;51 # symbolic 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 -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 -OTHER_WRITABLE 48;5;10;38;5;21 # dir that is other-writable (o+w) and not sticky -RESET 0 # reset to "normal" color -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) -SOCK 38;5;13 # socket -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) +BLK 48;5;232;38;5;11 # block device driver +CAPABILITY 48;5;196;38;5;226 # file with capability +CHR 48;5;232;38;5;3 # character device driver +DIR 38;5;27 # directory +DOOR 38;5;5 # door +EXEC 38;5;34 # file with execute permission (+x) +FIFO 40;38;5;11 # pipe +FILE 00 # normal file, use no color at all +LINK 38;5;51 # symbolic 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 +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 +OTHER_WRITABLE 48;5;10;38;5;21 # dir that is other-writable (o+w) and not sticky +RESET 0 # reset to "normal" color +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) +SOCK 38;5;13 # socket +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) # }}} # 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 .apk 38;5;247 .arj 38;5;247 +.br 38;5;247 .bz 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 .deb 38;5;247 .dz 38;5;247 +.egg 38;5;247 .gz 38;5;247 .jar 38;5;247 +.kra 38;5;247 .lz 38;5;247 .lzh 38;5;247 .lzma 38;5;247 +.ora 38;5;247 .rar 38;5;247 .rpm 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 .txz 38;5;247 .tz 38;5;247 +.whl 38;5;247 .xz 38;5;247 -.z 38;5;247 .Z 38;5;247 +.z 38;5;247 .zip 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 .bmp 38;5;13 .bpg 38;5;13 +.eps 38;5;13 +.exr 38;5;13 .flif 38;5;13 .gif 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 .pgm 38;5;13 .png 38;5;13 +.psd 38;5;13 .ppm 38;5;13 .svg 38;5;13 .svgz 38;5;13 diff --git a/.gitconfig b/.gitconfig index 6f7b16d..28142cd 100644 --- a/.gitconfig +++ b/.gitconfig @@ -53,9 +53,11 @@ [merge] tool = fugitive +[mergetool] + keepBackup = false + [mergetool "fugitive"] cmd = nvim -f -c \"Gvdiff\" \"$MERGED\" - keepBackup = false [pretty] log = format:%h %s%d [%cn] (%ad) diff --git a/.local/arch/init.sh b/.local/arch/init.sh index fd947c9..d819af1 100755 --- a/.local/arch/init.sh +++ b/.local/arch/init.sh @@ -186,8 +186,8 @@ Target = usr/bin/firefox-developer-edition [Action] Description = Disabling Firefox downgrade protection When = PostTransaction -Exec = /bin/sed -e 's/"\$@"/-allow-downgrade &/' \ - -i /usr/bin/firefox-developer-edition +Exec = /bin/sed -i /usr/bin/firefox-developer-edition \ + -e 's/exec/GTK_USE_PORTAl=1 &/;s/"\$@"/-allow-downgrade &/' EOF # }}}