#!/bin/bash
if [ -n "$*" ]; then
    exec /usr/bin/emacsclient --alternate-editor= --display="$DISPLAY" "$@"
else
    exec emacsclient --alternate-editor= --create-frame
fi
