$ alias lp="echo -n \"some text to copy\" | pbcopy; sleep 120 && echo -n \"done\" | pbcopy &"This alias is useful if you need to use some text often. Executing the alias will copy the text into your clipboard and then remove it after X seconds.
by David Winterbottom (codeinthehole.com)
from All commands http://ift.tt/1pYxuZ3
No comments:
Post a Comment