summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Huang <countcainht@gmail.com>2023-05-11 19:58:55 -0400
committerGitHub <noreply@github.com>2023-05-11 19:58:55 -0400
commit6d1e91bcbdda2c18e2ef97cfc7a636d038874c4d (patch)
treed0f33f954e496068db6a0d25edbb320dfd108da0
parent6f316ec7eb2f1f56a7609048e67860eb84c1aacf (diff)
Update tmux.md
Fix the tmux command
-rw-r--r--docs/tmux.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tmux.md b/docs/tmux.md
index 8263010..415f3a9 100644
--- a/docs/tmux.md
+++ b/docs/tmux.md
@@ -6,7 +6,7 @@ Add these lines to your Tmux config file to access **navi** by pressing `prefix
```sh
bind-key -T prefix C-g split-window \
- "$SHELL --login -i -c 'navi --print | head -c -1 | tmux load-buffer -b tmp - ; tmux paste-buffer -p -t {last} -b tmp -d'"
+ "$SHELL --login -i -c 'navi --print | head -n 1 | tmux load-buffer -b tmp - ; tmux paste-buffer -p -t {last} -b tmp -d'"
```
Example cheatsheet: