One of my favorite Oh My Zsh features is the way that it lets you search through your history.
Imagine that the contents of .zsh_history look like this:
cd Desktop
mkdir my-project
cd my-project
npm init -y
mkdir {src,build}
touch index.js
If you are in the terminal and press the ↑ key, you would expect to cycle through each of those history entries one by one, right? No surprise there.
However, Oh My Zsh allows you to enter the beginning of a command, then press the ↑ key to cycle through matching entries. So, in the above example if you entered “mkdir” and then pressed the ↑ key, you would see “mkdir {src,build}” displayed. If you pressed it again, you would then see “mkdir my-project”.
somehow this feature not working when using Dracula theme
One of my favorite Oh My Zsh features is the way that it lets you search through your history.
Imagine that the contents of .zsh_history look like this:
cd Desktop mkdir my-project cd my-project npm init -y mkdir {src,build} touch index.js
If you are in the terminal and press the ↑ key, you would expect to cycle through each of those history entries one by one, right? No surprise there.
However, Oh My Zsh allows you to enter the beginning of a command, then press the ↑ key to cycle through matching entries. So, in the above example if you entered “mkdir” and then pressed the ↑ key, you would see “mkdir {src,build}” displayed. If you pressed it again, you would then see “mkdir my-project”.
somehow this feature not working when using Dracula theme
please advice