Skip to content

Commit 6045aef

Browse files
committed
Revert "Fix bug in history suffix removal"
This reverts commit 24139ff.
1 parent 24139ff commit 6045aef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Completions/_autocomplete__history_lines

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ _autocomplete__history_lines() {
149149

150150
_autocomplete__history_lines_suffix() {
151151
if [[ $WIDGET != history-search-backward ]]; then
152-
LBUFFER="$LBUFFER[1,SUFFIX_START-1]"
152+
LBUFFER="$LBUFFER[1,SUFFIX_START]"
153153
RBUFFER="$RBUFFER[SUFFIX_END,-1]"
154154
fi
155155
}

0 commit comments

Comments
 (0)