Fix use of pbcopy, pbpaste, and launchctl within tmux on OSX

This commit is contained in:
2013-08-18 22:45:40 +01:00
parent 5c56709b8b
commit 3838db8f7b
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
#! /usr/bin/env bash
# If reattach-to-user-namespace is not available, just run the command.
if [ -n "$(command -v reattach-to-user-namespace)" ]; then
reattach-to-user-namespace $@
else
exec "$@"
fi