In article <[EMAIL PROTECTED]>, shaul <[EMAIL PROTECTED]>
wrote:

> By the way, how can I tell the aliases in my .bashrc to work only when I am 
> using X (I don't need xemacs -geometry 87x28 when I am not using X) ?

Use a function such as

xemacs() {
  if [ -n "$DISPLAY" ]; then
    command xemacs -geometry 87x28 "$@"
  else
    command xemacs "$@"
  fi
}

-- 
Christian "naddy" Weisgerber                  [EMAIL PROTECTED]
  See another pointless homepage at <URL:http://home.pages.de/~naddy/>.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to