vis-lua: expose cursor:to(line, col)
[vis.git] / vis-copy
blobd820d79b62f05cf19359916206e4486b272cc009
1 #!/bin/sh
3 if [ ! -z "$DISPLAY" ]; then
4 exec xsel -ib
5 elif type pbcopy >/dev/null 2>&1; then
6 exec pbcopy
7 else
8 echo "System clipboard not supported" 1>&2
9 exit 1