From 0ba859714e4ebcfcf1449defea9f664126c7631c Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 11 Jun 2014 18:14:25 -0700 Subject: [PATCH] add ospaste. --- dotfiles/emacs.d | 2 +- dotfiles/lib/shellrc/functions.sh | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/dotfiles/emacs.d b/dotfiles/emacs.d index f15df1c9..6723c930 160000 --- a/dotfiles/emacs.d +++ b/dotfiles/emacs.d @@ -1 +1 @@ -Subproject commit f15df1c9c1e5c083e2a21f10e8d6f43ddfbd1df6 +Subproject commit 6723c9306897e5d7ffb8f2bd961d9ff75fa5e306 diff --git a/dotfiles/lib/shellrc/functions.sh b/dotfiles/lib/shellrc/functions.sh index 55f08adc..3bbc5c33 100644 --- a/dotfiles/lib/shellrc/functions.sh +++ b/dotfiles/lib/shellrc/functions.sh @@ -98,6 +98,13 @@ function clipboard() { fi } +function ospaste() { + if is_osx; + then + reattach-to-user-namespace pbpaste + fi +} + function git_root() { cd `git root` }