From 184848553861fe15195c735fa9e9ef75c365f5de Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 28 Dec 2011 10:05:17 +0900 Subject: [PATCH] fix bug: do not run xrandr when isdarwin --- .bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index fb29879..f15dd0d 100755 --- a/.bashrc +++ b/.bashrc @@ -400,10 +400,10 @@ echo "Japanese letters are 表示可能" safe-cmd diskinfo -isdarwin || test -n "${DESKTOP_SESSION}" && type xrandr >/dev/null 2>&1 && { +! isdarwin && test -n "${DESKTOP_SESSION}" && type xrandr >/dev/null 2>&1 && { xrandr | grep --color=never ^Screen } -iswindows || safe-cmd finger $USER +! iswindows && safe-cmd finger $USER LANG=C safe-cmd id