Comments (7)
I would ask the developers of zcomet.
from zsh-history-substring-search.
I tried directly sourcing this plugin without a plugin manager and I have confirmed that this error still occurs without it. I even moved my .zshenv file
and logged in and out for good measure. Apologies for not trying this sooner.
Here is the full output of the error, which I get every time I press enter:
home-pc% (anon):local:1: bad option: -e
[bat error]: invalid digit found in string
If I do not have bat
installed, then I instead get this:
home-pc% (anon):local:1: bad option: -e
(anon):1: command not found: bat
I apologize for previously overlooking the second line of the output. I initially assumed it was unrelated because I thought that I did not see it when just zcomet
and this plugin was loaded.
from zsh-history-substring-search.
Zhss does not use bat. So this issue must be unrelated to it.
from zsh-history-substring-search.
I am aware zhss does not use bat, but this bug only happens if zhss is sourced, even if no other part of my configuration is sourced. So I am not sure what else could cause it. Did you at least try to replicate the issue? I use the Sway edition of EndeavourOS if that's important. Please let me know if there is any other information I should provide or anything else I should try to rule zhss out.
from zsh-history-substring-search.
Is it possible that you (or some shell script) aliased cat to bat. You might check this by running alias cat
. If this yields any output you might run unalias cat
and check if that helps resolve your problem.
from zsh-history-substring-search.
I googled your error and found this: DanielFGray/fzf-scripts#15. Just a suggestion, in case you have installed fzf: You might have to add --ansi
to the environment variable FZF_DEFAULT_OPTS (like export FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS -- ansi"
)
from zsh-history-substring-search.
Apparently, something changed and I am no longer able to replicate my issue on zsh with no .zshrc. So it looks like you are most likely right that zhss is not the cause of my problem. Nonetheless, thank you for your help and I apologize for wasting your time.
Also it does not appear cat
being aliased or fzf
being passed a given flag affects my problem, but thank you for the suggestions anyways.
Edit: It looks like it was caused by making -h
a global alias. I feel very silly now. Although I am not sure how it still affected me when I did not have my config loaded. I suppose I accidentally loaded part of it or something.
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?
- 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 9
- .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.