LoginSignup
0
0

More than 5 years have passed since last update.

Mac OS X/MacPorts

Last updated at Posted at 2015-01-04

tmux

search

いろいろあるのね。Python からの powerline が強力そうです。また tmux-pasteboard を入れないと .tmux.conf の reattach-to-user-namespace でコケます。入れましょう。

/Users/reo% port search tmux
py-powerline @0.0.20140526 (python, devel)
    Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other
    applications, including zsh, bash, tmux, IPython, Awesome and Qtile.

py26-powerline @0.0.20140526 (python, devel)
    Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other
    applications, including zsh, bash, tmux, IPython, Awesome and Qtile.

py27-powerline @0.0.20140526 (python, devel)
    Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other
    applications, including zsh, bash, tmux, IPython, Awesome and Qtile.

py32-powerline @0.0.20140526 (python, devel)
    Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other
    applications, including zsh, bash, tmux, IPython, Awesome and Qtile.

py33-powerline @0.0.20140526 (python, devel)
    Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other
    applications, including zsh, bash, tmux, IPython, Awesome and Qtile.

py34-powerline @0.0.20140526 (python, devel)
    Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other
    applications, including zsh, bash, tmux, IPython, Awesome and Qtile.

rainbarf @1.1 (sysutils)
    CPU/RAM/battery stats chart bar for tmux (and GNU screen)

tmux @1.9a_3 (sysutils)
    terminal multiplexer

tmux-pasteboard @2.3 (sysutils)
    Wrapper to use pasteboard services in tmux

wemux @3.2.0_2 (devel)
    wemux enhances tmux to make multi-user terminal multiplexing both easier and more powerful.

Found 10 ports.

variants

behave more like screen なんていう variants がありますが、それはそれ、これはこれということで。

/Users/reo% port variants tmux
tmux has the variants:
   screen: behave more like screen
   universal: Build for multiple architectures
/Users/reo% port variants tmux-pasteboard
tmux-pasteboard has the variants:
   universal: Build for multiple architectures

install

libevent が必要です。

/Users/reo% sudo port install tmux
--->  Computing dependencies for tmux
--->  Dependencies to be installed: libevent
--->  Fetching archive for libevent
--->  Attempting to fetch libevent-2.0.21_0.darwin_14.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/libevent
--->  Attempting to fetch libevent-2.0.21_0.darwin_14.x86_64.tbz2.rmd160 from http://jog.id.packages.macports.org/macports/packages/libevent
--->  Installing libevent @2.0.21_0
--->  Activating libevent @2.0.21_0
--->  Cleaning libevent
--->  Fetching archive for tmux
--->  Attempting to fetch tmux-1.9a_3.darwin_14.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/tmux
--->  Attempting to fetch tmux-1.9a_3.darwin_14.x86_64.tbz2.rmd160 from http://jog.id.packages.macports.org/macports/packages/tmux
--->  Installing tmux @1.9a_3
--->  Activating tmux @1.9a_3

If you want integration with system pasteboard consider installing port tmux-pasteboard as well

--->  Cleaning tmux
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.
/Users/reo% sudo port install tmux-pasteboard
--->  Computing dependencies for tmux-pasteboard
--->  Fetching archive for tmux-pasteboard
--->  Attempting to fetch tmux-pasteboard-2.3_0.darwin_14.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/tmux-pasteboard
--->  Attempting to fetch tmux-pasteboard-2.3_0.darwin_14.x86_64.tbz2.rmd160 from http://jog.id.packages.macports.org/macports/packages/tmux-pasteboard
--->  Installing tmux-pasteboard @2.3_0
--->  Activating tmux-pasteboard @2.3_0

To enable tmux-MacOSX-pasteboard add the following line to ~/.tmux.conf replacing 'bash' with your actual
shell:
    set-option -g default-command "/opt/local/bin/reattach-to-user-namespace bash"
You can then copy last tmux buffer into system general pasteboard using:
    tmux save-buffer - | pbcopy
or define a handier alias for it

--->  Cleaning tmux-pasteboard
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.
0
0
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
0
0