#!/usr/bin/env bash
if [ -z "$DISPLAY" ]
then
NW=""
else
NW="-n"
fi
if [ -z "$@" ]
cd $HOME
emacsclient $NW -c -a '' "$@"