add os-paste.

This commit is contained in:
Ivan Malison 2014-06-11 18:14:12 -07:00
parent f15df1c9c1
commit 6723c93068

View File

@ -135,6 +135,10 @@ Return a list of installed packages or nil for every package not installed."
(interactive "r")
(shell-command-on-region b e "source ~/.zshrc; cat | smart_copy"))
(defun os-paste ()
(interactive)
(insert (shell-command-to-string "source ~/.zshrc; ospaste")))
(defun all-copy (&optional b e)
(interactive "r")
(os-copy b e)