Comments (5)
I'm unable to reproduce that. Here's the test environment I used:
cd $(mktemp -d)
> .zshrc <<EOF
PS1='%# ' PS2= RPS2='%^'; setopt transientrprompt interactivecomments
source /path/to/zsh-hist/zsh-hist.plugin.zsh
EOF
HOME=$PWD ZDOTDIR=$PWD zsh -d
Please try it in this environment and if the bug doesn't occur there, then the problem is definitely with Zinit. If you can find a way in which I can reproduce this that doesn't involve Zinit, then I'll reopen the issue.
There is no longer a keybinding for retrieving saved items from history, because there's plenty of keybindings for that already.
I did find some other bugs in my testing and pushed in a fix for those.
from zsh-hist.
Hey @marlonrichert , thanks for giving it a try, I can understand your notion here.
I'd also blame it on zinit, however simply reverting back to the commit prior the push-changes instantly fixes the problem for me.
Nevertheless, I'll try to analyze deeper once I get a chance and try without zinit.
from zsh-hist.
What output do you get from bindkey '^Q'
?
from zsh-hist.
What output do you get from
bindkey '^Q'
?
❯ bindkey '^Q'
"^Q" push-line-or-edit
but wait, when I restore the plugin to the latest main-branch changes, I suddenly get
"^Q" push-history
Didn't realize that before, so somehow my bindings changed after the update.
That means if I find a way to switch back to push-line-or-edit
it would solve my problem 🤔
Update: sadly no, even if I change the binding back to push-line-or-edit
, my pushed command gets immediatly auto-restored after hitting enter
, which is not how it's supposed to work, I want to use get-line
for that.
from zsh-hist.
bindkey ^Q
should output "^Q" push-history
. Looks like something else is overriding that keybinding.
from zsh-hist.
Related Issues (18)
- Commands drawn from history cannot be executed. HOT 3
- Problems with unicode characters HOT 3
- Select multiple history entries HOT 3
- How to do a big-time auto format in place?
- TODO: Add installation instructions
- Regex `\b` replaced with `^H` in multi-line command HOT 2
- Don't add current command to history (`ignore` flag) HOT 2
- Make plugin work with per-directory-history too, not just global history HOT 2
- ^Q unavailable in vi command mode
- hist: warning: $HISTSIZE should be at least 20% larger than $SAVEHIST HOT 1
- The term "undo" is used twice HOT 4
- Widgets are not found anymore HOT 4
- Aliases are automatically expanded before the command is executed HOT 16
- Code formatting ignores HIST_IGNORE_SPACE HOT 3
- Command line prepended with tab character. HOT 13
- History line autocompletion not working. HOT 1
- History line tab-completion not working. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zsh-hist.