Comments (18)
Do you know about auto-fu.zsh ? It seems to be close to this, but uses completion system instead of history.
from zsh-history-substring-search.
@sunaku: I do not think this would be of much interest to me. I am not a fan of suggestions I have not asked for. When I suspect the long command is somewhere in my history file I just press repeatedly until the relevant command appears.
Good luck with the project though!
@nicoulaj: I am afraid the completion system works quite different from our history search.
from zsh-history-substring-search.
Thanks for the feedback guys.
from zsh-history-substring-search.
I like the new Fish auto suggestions.
from zsh-history-substring-search.
Check out predict-on zsh plugin.
from zsh-history-substring-search.
Thanks for this notification!
Guido van Steen
On Wed, Apr 3, 2013 at 4:33 PM, joe9 [email protected] wrote:
Check out predict-on zsh plugin.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/17#issuecomment-15840110
.
from zsh-history-substring-search.
@joe9 thanks, that's pretty cool. ✨ Now, if only I could configure predict-on
to: 🐣
- perform a substring search (match anywhere, not just at beginning of command line)
be toggleable by pressing Ctrl-Z (maybe it could set afound an answer$ZSH_PREDICT_ON
flag)- show a list of all matching commands (like a normal ZSH completion menu)
from zsh-history-substring-search.
@nicoulaj, auto-fu conflicts with zsh-syntax-highlighting and zsh-history-substring-search.
from zsh-history-substring-search.
Neither zsh-syntax-highlighting nor zsh-history-substring-search play well with predict-on. The former does not highlight and the latter searches for the entire line — both the typed portion and the prediction. Fish only searches for the typed portion of the line.
Use the following to enable predict-on.
autoload -U predict-on
zle -N predict-on
zle -N predict-off
bindkey '^X^Z' predict-on
bindkey '^X^A' predict-off
zstyle ':predict' verbose 'yes'
The key bindings are arbitrary. Better ones ought to be found.
from zsh-history-substring-search.
@tarruda has ported Fish's autosuggestions to ZSH ✨ in https://github.com/tarruda/zsh-autosuggestions
from zsh-history-substring-search.
While the basic autosuggestion infrastructure is in place, the widget is very alpha. It would be great if a zle expert could send some patches
from zsh-history-substring-search.
zsh-autosuggestions should be more stable now. I also added some tweaks to make it play nicely with zsh-syntax-highlighting
from zsh-history-substring-search.
@tarruda your project is pretty cool, please get in touch if you want to host it in the zsh-users organization
from zsh-history-substring-search.
@nicoulaj sounds good, what do I have to do?
from zsh-history-substring-search.
@tarruda sorry for the delay, I forgot about this. I gave you the rights on the organization, so you can now transfer or create repositories in the organization. The only rules are:
- All projects must be related to zsh ;)
- All projects must be general purpose (no dotfiles or personal stuff like that)
- If you go the organization settings page, then "teams" you can see we use teams for dealing with access rights
Welcome!
from zsh-history-substring-search.
@nicoulaj, should Prezto be part of @zsh-users or should I keep it under my name? Do you consider it general enough?
from zsh-history-substring-search.
Yes, of course it fits in this organization. I gave you the rights too.
Also, please note I'm not forcing anyone, I created this organization so that pet projects like this can be grouped together and have more visibility, People are free to come and go. So far it seems to work quite fine.
from zsh-history-substring-search.
Thank you. I'll keep it under my name for now, at least until I can tag it
v1.0.
On Mon, Dec 2, 2013 at 1:58 PM, Julien Nicoulaud
[email protected]:
Yes, of course it fits in this organization. I gave you the rights too.
Also, please note I'm not forcing anyone, I created this organization so
that pet projects like this can be grouped together and have more
visibility, People are free to come and go. So far it seems to work quite
fine.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/17#issuecomment-29646420
.
from zsh-history-substring-search.
Related Issues (20)
- Release a new version HOT 2
- Not highlighting in zsh 5.9 HOT 13
- zsh-syntax-highlighting: unhandled ZLE widget 'history-substring-search-up' HOT 2
- integrate `history-substring-search-down` with existing widget
- Incompatibility with custom config setopt globsubst
- Modify your readme, bindkey does not work, as mentioned in readme HOT 2
- Need Help, i must "source .zshrc" first for the plugin to works HOT 2
- binding keys doesn't work?
- `(anon):local:1: bad option: -e` error HOT 7
- History not synced accross terminals. HOT 2
- Highlighting doesn't work when using both marlonrichert/zsh-autocomplete and zsh-users/zsh-syntax-highlighting HOT 2
- Shell is stuck on 100% cpu if last character is a pipe
- Add separate license file HOT 1
- Create release including `HISTORY_SUBSTRING_SEARCH_PREFIXED` HOT 2
- How to install on Ubuntu 22.04 (in WSL2) without Oh My Zsh? HOT 4
- Cannot search across in different terminal tab
- Not enough arguments for -U HOT 8
- .zshrc:XXX: no matches found: [plugins...] HOT 3
- Where do historical records exist? HOT 1
- How do I change the data source of a history command to histdb
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-history-substring-search.