Fix manuals feature when using string to search
This commit is contained in:
2
fms.sh
2
fms.sh
@@ -61,7 +61,7 @@ function notes() {
|
||||
function manuals() {
|
||||
echo -n 0 >${SWITCH_MENU}
|
||||
unset RES
|
||||
RES=$(man -k . | bat --color=always -pp - | sk --reverse --ansi --inline-info --keep-right --print-query \
|
||||
RES=$(man -k . | bat --color=always -pp - | sk --reverse --ansi --inline-info --keep-right \
|
||||
--bind "shift-left:execute-silent(echo -n 1 > ${SWITCH_MENU})+abort" \
|
||||
--bind "shift-right:execute-silent(echo -n 1 > ${SWITCH_MENU})+abort")
|
||||
SWITCH=$(cat ${SWITCH_MENU})
|
||||
|
||||
Reference in New Issue
Block a user