Deprecate grc.

This commit is contained in:
David Tomaschik
2019-11-16 12:11:23 -08:00
parent 12a92703f0
commit 614adeed08
4 changed files with 0 additions and 75 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -105,11 +105,9 @@ if [[ $- == *i* ]] ; then
if test -f /usr/share/virtualenvwrapper/virtualenvwrapper_lazy.sh ; then if test -f /usr/share/virtualenvwrapper/virtualenvwrapper_lazy.sh ; then
source /usr/share/virtualenvwrapper/virtualenvwrapper_lazy.sh source /usr/share/virtualenvwrapper/virtualenvwrapper_lazy.sh
fi fi
# Enable grc if we have it
if command ls --version 2>&1 >/dev/null ; then if command ls --version 2>&1 >/dev/null ; then
alias ls="$(whence -p ls) --color -C" alias ls="$(whence -p ls) --color -C"
fi fi
[[ -s "/etc/grc.zsh" ]] && source /etc/grc.zsh
# Syntax highlighting and substring search # Syntax highlighting and substring search
if test -f /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ; then if test -f /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ; then
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

View File

@@ -4,7 +4,6 @@ cryptsetup
dsniff dsniff
ecryptfs-utils ecryptfs-utils
exuberant-ctags exuberant-ctags
grc
iftop iftop
iptraf iptraf
ipython ipython