<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://wiki.rookie-inc.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://wiki.rookie-inc.com/feed.php">
        <title>メモとかメモのようなものとか（By ルーキーの中のひと） - serverapps:tmux</title>
        <description></description>
        <link>http://wiki.rookie-inc.com/</link>
        <image rdf:resource="http://wiki.rookie-inc.com/_media/wiki/dokuwiki.svg" />
       <dc:date>2026-05-02T06:36:21+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://wiki.rookie-inc.com/serverapps/tmux/config"/>
                <rdf:li rdf:resource="http://wiki.rookie-inc.com/serverapps/tmux/plugin"/>
                <rdf:li rdf:resource="http://wiki.rookie-inc.com/serverapps/tmux/sshagent"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://wiki.rookie-inc.com/_media/wiki/dokuwiki.svg">
        <title>メモとかメモのようなものとか（By ルーキーの中のひと）</title>
        <link>http://wiki.rookie-inc.com/</link>
        <url>http://wiki.rookie-inc.com/_media/wiki/dokuwiki.svg</url>
    </image>
    <item rdf:about="http://wiki.rookie-inc.com/serverapps/tmux/config">
        <dc:format>text/html</dc:format>
        <dc:date>2021-06-01T07:13:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>設定</title>
        <link>http://wiki.rookie-inc.com/serverapps/tmux/config</link>
        <description>設定

オプション

	*  bind-key -r :repeat time
	*  bind-key -T :keytable 省略時は-T prefixとみなす

ファイル


# ウィンドウの番号の開始位置を指定
set -g base-index 1

# ペインのインデックスを1から始める
setw -g pane-base-index 1

# ウィンドウのRename禁止
set-option -g allow-rename off

# toggle synchronize-panes [On|OFF]
bind a setw synchronize-panes \; display &quot;synchronize-panes #{?pane_synchronized,on,off}&quot;</description>
    </item>
    <item rdf:about="http://wiki.rookie-inc.com/serverapps/tmux/plugin">
        <dc:format>text/html</dc:format>
        <dc:date>2023-10-09T13:30:24+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Plugin</title>
        <link>http://wiki.rookie-inc.com/serverapps/tmux/plugin</link>
        <description>Plugin

TPM(Tmux Plugin Manager)

	*  tmux-plugins/tpm github

install

Clone TPM
$ git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
Configure

~/.tmux.conf の末尾に以下を追記


# List of plugins
set -g @plugin &#039;tmux-plugins/tpm&#039;
set -g @plugin &#039;tmux-plugins/tmux-sensible&#039;

# Other examples:
# set -g @plugin &#039;github_username/plugin_name&#039;
# set -g @plugin &#039;github_username/plugin_name#branch&#039;
# set -g @plugin &#039;git@github.com:user/plugin&#039;
# set -g @plugin &#039;git@bitbucket.com:user/plugin&#039;

# …</description>
    </item>
    <item rdf:about="http://wiki.rookie-inc.com/serverapps/tmux/sshagent">
        <dc:format>text/html</dc:format>
        <dc:date>2025-05-09T05:36:39+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ssh-agent対策</title>
        <link>http://wiki.rookie-inc.com/serverapps/tmux/sshagent</link>
        <description>ssh-agent対策

※ tmuxからさらにsshで他のhostへの接続をしていると腐るorz。なので、使用中止します

sshの再接続のたびに当然のことながら、SSH_AUTH_SOCKは作り直されるのだが、tmuxは以前のSSH_AUTH_SOCKを保持し続けるため腐る
と言うわけで対策</description>
    </item>
</rdf:RDF>
