2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

tmux 起動中に Mac のクリップボードを共有する

2
Last updated at Posted at 2012-04-23

通常の設定ではtmuxMacのクリップボードが共有されないようなので、必要な設定を済ませます。Shellは、zsh を前提として話を進めます。

Terminal

mkdir ~/bin && echo "PATH=$HOME/bin:$PATH" >> ~/.zshrc

git clone git://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard.git

cd ~/tmux-MacOSX-pasteboard

make reattach-to-user-namespace

cp reattach-to-user-namespace ~/bin

vim ~/tmux.conf

tmuxの設定ファイルに以下を追記します。

~/.tmux.conf

set-option -g default-command "reattach-to-user-namespace -l zsh"

参考URL

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?