Preventing gist from throwing errors when xclip is installed but X11 isn't present (forwarding or otherwise) #125

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant

jayson commented Jan 31, 2013

If someone has xclip installed on a remote machine but isn't forwarding X11 at the time (or even locally for various reasons), it will throw a broken pipe error. This prevents that by checking the environment variable display before attempting to throw the gist url into xclip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment