mirror of
https://github.com/zsh-users/zsh-history-substring-search.git
synced 2026-11-11 11:41:49 -05:00
remove debugging logic that writes to /tmp/ok2
This commit is contained in:
@@ -56,7 +56,6 @@ history-substring-search-begin() {
|
|||||||
( ${WIDGET/forward/backward} = ${LASTWIDGET/forward/backward}) ) ]]; then
|
( ${WIDGET/forward/backward} = ${LASTWIDGET/forward/backward}) ) ]]; then
|
||||||
# set the type of highlighting
|
# set the type of highlighting
|
||||||
F_search=${BUFFER//(#m)[\][()\\*?#<>~^]/\\$MATCH}
|
F_search=${BUFFER//(#m)[\][()\\*?#<>~^]/\\$MATCH}
|
||||||
echo $WIDGET >> /tmp/ok2
|
|
||||||
# $BUFFER contains the text that is in the command-line currently.
|
# $BUFFER contains the text that is in the command-line currently.
|
||||||
# we put an extra "\\" before meta characters such as "\(" and "\)",
|
# we put an extra "\\" before meta characters such as "\(" and "\)",
|
||||||
# so that they become "\\\|" and "\\\("
|
# so that they become "\\\|" and "\\\("
|
||||||
|
|||||||
Reference in New Issue
Block a user