tmuxで現在のディレクトリ名をwindow名にする設定
投稿日: 2025-06-28 16:06
tmuxで現在のディレクトリ名をwindow名にする設定
~/.tmux.conf
に下記記載するだけ
# ウィンドウ名の自動リネームを有効にするset-window-option -g automatic-rename on
# ウィンドウ名のフォーマットを設定(ディレクトリ名のみ表示)set-window-option -g automatic-rename-format '#{b:pane_current_path}'