File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ linked_windows_format() {
3939
4040pane_format () {
4141 local format
42+ format+=" #{session_id}"
43+ format+=" ${delimiter} "
4244 format+=" pane"
4345 format+=" ${delimiter} "
4446 format+=" #{session_name}"
@@ -67,6 +69,8 @@ pane_format() {
6769
6870window_format () {
6971 local format
72+ format+=" #{session_id}"
73+ format+=" ${delimiter} "
7074 format+=" window"
7175 format+=" ${delimiter} "
7276 format+=" #{session_name}"
@@ -116,11 +120,11 @@ pane_option_format() {
116120}
117121
118122dump_panes_raw () {
119- tmux list-panes -a -F " $( pane_format) "
123+ tmux list-panes -a -F " $( pane_format) " | sort -k1 | cut -f2-
120124}
121125
122126dump_windows_raw (){
123- tmux list-windows -a -F " $( window_format) "
127+ tmux list-windows -a -F " $( window_format) " | sort -k1 | cut -f2-
124128}
125129
126130toggle_window_zoom () {
You can’t perform that action at this time.
0 commit comments