We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If the command contains space and call hstr (pressing <C-r>), there would double quote in hstr screen. I have to delete it manually to get my history.
<C-r>
As following example. Type git clone, then press <C-r>
git clone
My .zshrc
.zshrc
setopt histignorespace # skip cmds w/ leading space from history export HSTR_CONFIG="hicolor" # get more colors hstr_no_tiocsti() { zle -I { HSTR_OUT="$( { </dev/tty hstr ${BUFFER}; } 2>&1 1>&3 3>&- )"; } 3>&1; BUFFER="${HSTR_OUT}" CURSOR=${#BUFFER} zle redisplay } zle -N hstr_no_tiocsti bindkey -e bindkey "^R" hstr_no_tiocsti export HSTR_TIOCSTI=n
$ zsh --version zsh 5.9 (x86_64-pc-linux-gnu) $ hstr --version hstr version "3.1.0" (2023-04-18T08:50:00)
The text was updated successfully, but these errors were encountered:
dvorka
No branches or pull requests
If the command contains space and call hstr (pressing
<C-r>
), there would double quote in hstr screen. I have to delete it manually to get my history.As following example. Type
git clone
, then press<C-r>
My
.zshrc
The text was updated successfully, but these errors were encountered: