summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorPatrick Simianer <pks@pks.rocks>2020-08-02 10:12:23 +0200
committerPatrick Simianer <pks@pks.rocks>2020-08-02 10:12:23 +0200
commit8d2dc5052e456c08519d863effd76e67c059c0cb (patch)
tree4ee00e7c07e65cb78e3243ce1cfe888f37204485 /zsh
parent180998984a307a62a3c545f84d86988e51009a7d (diff)
zsh
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index ffd384c..e50111f 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -68,7 +68,7 @@ diff ()
if [[ -x $(which colordiff 2>/dev/null) ]]; then
colordiff "$@"
else
- command diff "$@"
+ command diff --color=auto "$@"
fi
}
@@ -234,7 +234,7 @@ autoload -U colors && colors
# possible colors: black, white, green, cyan, red, yellow, magenta
case $HOSTNAME in
- *.local|barkley*|bogues*|carter*|durant*|harden*|ming*|mutombo*|nash*|oneal*|robinson*)
+ *.local|barkley*|bogues*|carter*|durant*|harden*|james*|ming*|mutombo*|nash*|oneal*|robinson*)
HOSTCOLOR_BG=magenta
HOSTCOLOR_FG=black
;;