projects
/
dotfiles.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a1ae7d
)
Simplify single line reading
author
Sergey Matveev <stargrave@stargrave.org>
Fri, 11 Jun 2021 12:17:33 +0000 (15:17 +0300)
committer
Sergey Matveev <stargrave@stargrave.org>
Fri, 11 Jun 2021 12:17:33 +0000 (15:17 +0300)
bin/bin/tmux-menu-dict.sh
patch
|
blob
|
history
diff --git
a/bin/bin/tmux-menu-dict.sh
b/bin/bin/tmux-menu-dict.sh
index 0badc5cc86fe2d255995e17b7d493387880a1dfc..08922899e73580ce8152929152c832197b13bf02 100755
(executable)
--- a/
bin/bin/tmux-menu-dict.sh
+++ b/
bin/bin/tmux-menu-dict.sh
@@
-1,4
+1,4
@@
#!/bin/sh
-word=$(rlwrap -S "> "
sh -c 'read word ; echo $word'
)
+word=$(rlwrap -S "> "
head -1
)
sdcv "$word" | exec less