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: