- # allow connections to our x server from the local host.
- if [ ! -z "$DISPLAY" ]; then
- if [ ! -z "$(echo "$OS_TYPE" | grep -i darwin)" ]; then
- if [ ! -z "$SHELL_DEBUG" ]; then echo "Enabling localhost X connections..."; fi
- xhost + localhost >/dev/null 2>&1
- fi
- fi