Skip to content

Commit 59b46e0

Browse files
authored
docs: improve tmux example to include icons (#194)
1 parent 8500cec commit 59b46e0

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -111,16 +111,16 @@ In order to integrate with tmux, you can add a binding to your tmux config (`tmu
111111

112112
```sh
113113
bind-key "T" run-shell "sesh connect \"$(
114-
sesh list | fzf-tmux -p 55%,60% \
115-
--no-sort --ansi --border-label ' sesh ' --prompt '' \
116-
--header ' ^a all ^t tmux ^g configs ^x zoxide ^d tmux kill ^f find' \
117-
--bind 'tab:down,btab:up' \
118-
--bind 'ctrl-a:change-prompt(⚡ )+reload(sesh list)' \
119-
--bind 'ctrl-t:change-prompt(🪟 )+reload(sesh list -t)' \
120-
--bind 'ctrl-g:change-prompt(⚙️ )+reload(sesh list -c)' \
121-
--bind 'ctrl-x:change-prompt(📁 )+reload(sesh list -z)' \
122-
--bind 'ctrl-f:change-prompt(🔎 )+reload(fd -H -d 2 -t d -E .Trash . ~)' \
123-
--bind 'ctrl-d:execute(tmux kill-session -t {})+change-prompt(⚡ )+reload(sesh list)'
114+
sesh list --icons | fzf-tmux -p 55%,60% \
115+
--no-sort --ansi --border-label ' sesh ' --prompt '' \
116+
--header ' ^a all ^t tmux ^g configs ^x zoxide ^d tmux kill ^f find' \
117+
--bind 'tab:down,btab:up' \
118+
--bind 'ctrl-a:change-prompt(⚡ )+reload(sesh list --icons)' \
119+
--bind 'ctrl-t:change-prompt(🪟 )+reload(sesh list -t --icons)' \
120+
--bind 'ctrl-g:change-prompt(⚙️ )+reload(sesh list -c --icons)' \
121+
--bind 'ctrl-x:change-prompt(📁 )+reload(sesh list -z --icons)' \
122+
--bind 'ctrl-f:change-prompt(🔎 )+reload(fd -H -d 2 -t d -E .Trash . ~)' \
123+
--bind 'ctrl-d:execute(tmux kill-session -t {2..})+change-prompt(⚡ )+reload(sesh list --icons)' \
124124
)\""
125125
```
126126

0 commit comments

Comments
 (0)