Today I found an interesting program, xclip. It could access the X
clipboard from command line.
It makes the command line life much easier, for example, I have
alias -g C=’ |tee > (xclip) ‘
in my .zshrc. Thus a command like
ls C
will make the file listing of current PWD into the clipboard, and ready to be paste elsewhere
Another similar program is xsel. But looks with less feature.
Post a Comment
You could use <code type="name"> to get your code colorized