Browse Source

fix bug: do not run xrandr when isdarwin

pull/1/head
10sr 13 years ago
parent
commit
1848485538
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      .bashrc

+ 2
- 2
.bashrc View File

@@ -400,10 +400,10 @@ echo "Japanese letters are 表示可能"


safe-cmd diskinfo 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 xrandr | grep --color=never ^Screen
} }


iswindows || safe-cmd finger $USER
! iswindows && safe-cmd finger $USER
LANG=C safe-cmd id LANG=C safe-cmd id



Loading…
Cancel
Save