forked from colonelpanic/dotfiles
Don't call in to xclip when $DISPLAY isn't available.
This commit is contained in:
@@ -121,7 +121,7 @@ function oscopy() {
|
||||
then
|
||||
reattach-to-user-namespace pbcopy
|
||||
else
|
||||
xclip -selection c
|
||||
test -n "$DISPLAY" && xclip -selection c
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user