diff --git a/scripts/note b/scripts/note index 1946a73..c398315 100755 --- a/scripts/note +++ b/scripts/note @@ -264,8 +264,8 @@ note_search() { cd $NOTES_DIR for file in * do - grep --color=always -il "\<$1\>" $file - grep --color=always -inhT -m2 -C1 "\<$1\>" $file + grep --color=always -il "$1" $file + grep --color=always -inhT -m2 -C1 "$1" $file done }