Skip to content

Commit 05463d6

Browse files
committed
chore: update code examples
1 parent 2f1dfc1 commit 05463d6

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

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

100100
```sh
101101
bind-key "T" run-shell "sesh connect \"$(
102-
sesh list | fzf-tmux -p 55%,60% \
103-
--no-sort --ansi --border-label ' sesh ' --prompt '' \
104-
--header ' ^a all ^t tmux ^g configs ^x zoxide ^d tmux kill ^f find' \
105-
--bind 'tab:down,btab:up' \
106-
--bind 'ctrl-a:change-prompt(⚡ )+reload(sesh list)' \
107-
--bind 'ctrl-t:change-prompt(🪟 )+reload(sesh list -t)' \
108-
--bind 'ctrl-g:change-prompt(⚙️ )+reload(sesh list -c)' \
109-
--bind 'ctrl-x:change-prompt(📁 )+reload(sesh list -z)' \
110-
--bind 'ctrl-f:change-prompt(🔎 )+reload(fd -H -d 2 -t d -E .Trash . ~)' \
111-
--bind 'ctrl-d:execute(tmux kill-session -t {})+change-prompt(⚡ )+reload(sesh list)'
102+
sesh list | fzf-tmux -p 55%,60% \
103+
--no-sort --ansi --border-label ' sesh ' --prompt '' \
104+
--header ' ^a all ^t tmux ^g configs ^x zoxide ^d tmux kill ^f find' \
105+
--bind 'tab:down,btab:up' \
106+
--bind 'ctrl-a:change-prompt(⚡ )+reload(sesh list)' \
107+
--bind 'ctrl-t:change-prompt(🪟 )+reload(sesh list -t)' \
108+
--bind 'ctrl-g:change-prompt(⚙️ )+reload(sesh list -c)' \
109+
--bind 'ctrl-x:change-prompt(📁 )+reload(sesh list -z)' \
110+
--bind 'ctrl-f:change-prompt(🔎 )+reload(fd -H -d 2 -t d -E .Trash . ~)' \
111+
--bind 'ctrl-d:execute(tmux kill-session -t {})+change-prompt(⚡ )+reload(sesh list)'
112112
)\""
113113
```
114114

@@ -120,7 +120,7 @@ If you prefer to use [charmblacelet's gum](https://github.com/charmbracelet/gum)
120120

121121
```sh
122122
bind-key "K" display-popup -E -w 40% "sesh connect \"$(
123-
sesh list -i | gum filter --limit 1 --placeholder 'Pick a sesh' --height 50 --prompt=''
123+
sesh list -i | gum filter --limit 1 --no-sort --fuzzy --placeholder 'Pick a sesh' --height 50 --prompt=''
124124
)\""
125125
```
126126

@@ -190,7 +190,7 @@ If you want to filter your search by the root of the active project, you can mod
190190

191191
```sh
192192
bind-key "R" display-popup -E -w 40% "sesh connect \"$(
193-
sesh list -i -H | gum filter --value \"$(sesh root)\" --limit 1 --fuzzy --no-sort --placeholder 'Pick a sesh' --prompt=''
193+
sesh list -i -H | gum filter --value \"$(sesh root)\" --limit 1 --fuzzy --no-sort --placeholder 'Pick a sesh' --prompt=''readme
194194
)\""
195195
```
196196

0 commit comments

Comments
 (0)