Skip to content
/ tmuxx Public

tmuxx is script wrapped tmux that can restore last windows.

Notifications You must be signed in to change notification settings

isseium/tmuxx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

tmuxx

概要

tmuxx は tmux をラップしたスクリプトと設定ファイルです。
PC再起動の場合でも、windowの配置やカレントパス、window名前を記憶できます。

Contact: @isseium

動作確認環境

OS Mac OS X 10.7.1
シェル Bash 3.2.48
tmux 1.4

初期設定

ソース展開

$ mkdir -p ~/local/tmuxx
$ cd ~/local/tmuxx
$ git clone git://github.com/isseium/tmuxx.git

dot.bash_logout ファイルへシンボリックリンク

注意: すでに ~/.bash_logout ファイルを設置している人は、.bash_logout ファイルに ~/local/tmuxx/dot.bash_logout ファイルの中身をコピペしてください。ln コマンドの発行は不要です。

$ cd ~/
$ ln -s ~/local/tmuxx/dot.bash_logout

tmuxx のエイリアス作成

.bashrc ファイルの末尾に追加します


$ vi ~/.bashrc
alias tmuxx=/local/tmuxx
$ . .bashrc

※ パスを通してもOKです

使い方

  • 起動

tmux コマンドではなく、tmuxx を起動します

$ tmuxx
  • 終了

再起動時など、状態を保存したいときは、window を exit コマンドで閉じるようにしてください。これをしないでOSを再起動すると、状態は保持されません。
(現在、exit しなくても保持できるように改良予定)

About

tmuxx is script wrapped tmux that can restore last windows.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published