From 614adeed08f59e9aa0c006b96df7db5273566338 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Sat, 16 Nov 2019 12:11:23 -0800 Subject: [PATCH] Deprecate grc. --- dotfiles/grc/conf.df | 47 ----------------------------------------- dotfiles/grc/conf.mount | 25 ---------------------- dotfiles/zshrc | 2 -- packages.cli | 1 - 4 files changed, 75 deletions(-) delete mode 100644 dotfiles/grc/conf.df delete mode 100644 dotfiles/grc/conf.mount diff --git a/dotfiles/grc/conf.df b/dotfiles/grc/conf.df deleted file mode 100644 index a1ca18c..0000000 --- a/dotfiles/grc/conf.df +++ /dev/null @@ -1,47 +0,0 @@ -# FS -#regexp=^.*?\s -regexp=^(\/[-\w\d.]+)+\s -colours=green,blue -====== -regexp=^Filesystem.* -colours=white -====== -# tmpfs lines -regexp=^tmpfs -colours=cyan -====== -# Size 'K' -regexp=\s\d*[.,]?\dKi?\s -colours=green -====== -# Size 'M' -regexp=\s\d*[.,]?\dMi?\s -colours=yellow -====== -# Size 'G' -regexp=\s\d*[.,]?\dGi?\s -colours=red -====== -# Size 'T' -regexp=\s\d*[.,]?\dTi?\s -colours=bold red -====== -# Mounted on -regexp=\/$|(\/[-\w\d. ]+)+$ -colours=bold green,green -====== -# Use 0-69% -regexp=\b[1-6]?[0-9]% -colours=green -====== -# Use 70-90% -regexp=[7-9][0-9]% -colours=yellow -====== -# Use 90-97 -regexp=9[0-7]% -colours=red -====== -# Use 98-100 -regexp=9[8-9]%|100% -colours=bold red diff --git a/dotfiles/grc/conf.mount b/dotfiles/grc/conf.mount deleted file mode 100644 index a877148..0000000 --- a/dotfiles/grc/conf.mount +++ /dev/null @@ -1,25 +0,0 @@ -# Intended for colouring 'mount' output -# written by Emanuele Aina - -regexp=^(.*) on (.*) type (.*) \((.*)\) -colours=default,green,yellow,blue,magenta -- -# Devices -regexp=^(\/[^\/ ]+)+ -colours=bold green, on_green black -- -# Mount Path -regexp=(?<=on )(\/[^\/ ]+)+ -colours=unchanged,underline yellow -- -# RW -regexp=(?<=\()rw -colours=bold red -- -# RO -regexp=(?<=\()ro -colours=bold green -- -# Like comment, leave at end always -regexp=^(cgroup|tmpfs).* -colours=bold green diff --git a/dotfiles/zshrc b/dotfiles/zshrc index 6e79549..1a96e7b 100755 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -105,11 +105,9 @@ if [[ $- == *i* ]] ; then if test -f /usr/share/virtualenvwrapper/virtualenvwrapper_lazy.sh ; then source /usr/share/virtualenvwrapper/virtualenvwrapper_lazy.sh fi - # Enable grc if we have it if command ls --version 2>&1 >/dev/null ; then alias ls="$(whence -p ls) --color -C" fi - [[ -s "/etc/grc.zsh" ]] && source /etc/grc.zsh # Syntax highlighting and substring search if test -f /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ; then source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh diff --git a/packages.cli b/packages.cli index 818b6a6..7c7fcd6 100644 --- a/packages.cli +++ b/packages.cli @@ -4,7 +4,6 @@ cryptsetup dsniff ecryptfs-utils exuberant-ctags -grc iftop iptraf ipython