add os-paste.
This commit is contained in:
parent
f15df1c9c1
commit
6723c93068
4
init.el
4
init.el
@ -135,6 +135,10 @@ Return a list of installed packages or nil for every package not installed."
|
|||||||
(interactive "r")
|
(interactive "r")
|
||||||
(shell-command-on-region b e "source ~/.zshrc; cat | smart_copy"))
|
(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)
|
(defun all-copy (&optional b e)
|
||||||
(interactive "r")
|
(interactive "r")
|
||||||
(os-copy b e)
|
(os-copy b e)
|
||||||
|
Loading…
Reference in New Issue
Block a user