Tag Info

New answers tagged

1

Generally, if you run setopt xtrace in a zsh session or start zsh with zsh -x, zsh will print each command and its arguments as it is executed, including the internal ones used to set up the prompt or other hook functions. This will probably create a lot of output as oh-my-zsh may run quite a few functions just to display the prompt. It will look something ...


0

I wanted the same behaviour for zsh with oh-my-zsh installed and found plugin history-substring-search. I achieved the same behaviour described above by adding the plugin to my ~/.zshrc: plugins=(git brew npm history-substring-search) I guess this plugin did not exist back when this question was raised. Just an alternate way to achieve the same thing. ...



Top 50 recent answers are included