Comments (7)
OK. Thanks for supplying your .zshrc
-- that makes my job easier!
I added zinit light agkozak/zsh-z
, installed colorls
and yarn
, and commented out source $ZSH/oh-my-zsh.sh
. No problems.
I use a fresh copy of your .zshrc
, commented out all the zinit
code, changed all instances of /Users/angelodias/
to $HOME/
, installed powerlevel10k
, and agkozak/zsh-z
.
What's the http
plugin? Where is its repository located? I'd like to try that out.
Anyway, so far I haven't run into your problem. I suspect that something you're using is interfering with zsh-z
, and I'd love to know what it is so that I can make sure it never happens. I'll probably need a little more information.
Start out by telling me what the http
plugin is. Thanks!
from zsh-z.
Also, type
z -l
and tell me what it shows you. Thanks.
from zsh-z.
If I comment source $ZSH/oh-my-zsh.sh
, my powerlevel10k configs aren't loaded.
I'm gonna confess I have no idea what the HTTP plugin does. I might have installed it in the past because reasons. I removed it from my plugins
section but the error kept happening.
Another information: I'm on Mac using iTerm2.
Log from z -l
:
_zshz_find_matches:43: division by zero
0.25 /Applications/iTerm.app
0.25 /Users/angelodias/Library/Application Support/Steam/SteamApps
0.25 /Users/angelodias/Music
0.25 /Users/angelodias/Music/Ableton
0.50 /Users/angelodias/Library/Application Support/iCloud/Accounts
0.50 /Users/angelodias/android/sdk/tools
0.51 /Users/angelodias/Library/Application Support/Steam/SteamApps/common/RimWorld
0.75 /Users/angelodias/Library/Audio
0.75 /Users/angelodias/Music/Ableton/User Library
0.76 /Users/angelodias/GIT/comida/src/assets/scripts/components/map
0.76 /Users/angelodias/GIT/cronofobia/docs
1 /Users/angelodias/.config
1 /Users/angelodias/Library/Preferences/org.videolan.vlc
1.01 /Users/angelodias/GIT/umbler
1.01 /Volumes
1.02 /Users/angelodias/Library/Application Support/Steam/SteamApps/common
1.02 /Users/angelodias/android
1.25 /Users/angelodias/Applications
1.27 /Users/angelodias/Library/Application Support/RimWorld
1.32 /usr/local/apache2/conf
1.43 /Users/angelodias/GIT/bootcamp/docker
1.50 /Users/angelodias/Documents
1.53 /Users/angelodias/android/sdk
2 /usr/local/include
2.38 /Users/angelodias/Library/Developer/Xcode/DerivedData
2.53 /Users/angelodias/GIT/TF/tf
2.65 /Users/angelodias/GIT/utils
2.76 /Users/angelodias/GIT/mae-urso/public
2.77 /Users
3.01 /Users/angelodias/Downloads
3.50 /usr/local/bin
4.03 /usr/local/lib
4.28 /Users/angelodias/Library
4.54 /Users/angelodias/Desktop
5.26 /Users/angelodias/GIT/bootcamp/04-iniciando-back-end
5.58 /Users/angelodias/GIT/escolha-escola-folha
5.59 /Users/angelodias/GIT/class-scraper
6.57 /Users/angelodias/GIT/boilerplate-folha
7.27 /Users/angelodias/.ssh
28.29 /Users/angelodias/GIT/bootcamp/gobarber_mobile
64.48 /Users/angelodias/GIT/bootcamp/06-gobarber-web
244.77 /Users/angelodias/GIT/bootcamp
334.22 /Users/angelodias/GIT/portfolio
764.52 /Users/angelodias/GIT
_zshz_update_datafile:37: division by zero
(see the error on different lines? 37 and 43)
(is there a way to clean this cache?)
EDIT: formatting
from zsh-z.
If I comment source $ZSH/oh-my-zsh.sh, my powerlevel10k configs aren't loaded.
That makes sense. I was commenting it out because I didn't want to have oh-my-zsh
and zinit
running at the same time.
Yes, you can remove the whole cache simply by running
rm ~/.z
In fact, why don't you try that and then cd
around a bit just to see if there's something corrupt in the cache? Let me know if that makes a positive difference. Meanwhile, I'll think about this problem a bit.
Just so I know, which version of ZSH are you running? You can check by typing
echo $ZSH_VERSION
Thanks again for your patience.
from zsh-z.
Oh, and could you tell me what happens when you type
echo $EPOCHSECONDS
and could you type
zmodload
and make sure zsh/datetime
is in the list? Thanks.
from zsh-z.
Cleaning the cache did it. I don't know if it's described in the docs, but I'd recommend a section about it.
I think I got it! Counting my z -l
lines, line 37 and 43 are folders that doesn't exist anymore. Maybe this is messing up stuff, as your program searches for an unexisting path.
Anyways, just FYI, zhs version 7.7.1, epoch seconds returned me 1593205422
(which I assume is timestamp) and zsh/datetime
is indeed part of zmodload
list.
Problem solved, won't close the issue if you need to ask something else. If not, close away :) And thank you very much, this has been a HUGE time saver (so there's no need to thank me for my patience 👍 )
from zsh-z.
Thanks. And I'm glad it works for you now.
from zsh-z.
Related Issues (20)
- Request: Please sign up for Github Sponsors HOT 3
- Crash after installation HOT 3
- Show tilde instead of HOME during tab completions? HOT 3
- Directories with spaces don't get updated correctly HOT 6
- Files and directories both display in autocompletions HOT 4
- Strange file created in home directory HOT 3
- Fzf Integration HOT 2
- allow manually adding an alias for a directory HOT 2
- Feature request: Navigate up 'n' directories HOT 4
- Info: Ranger plugin HOT 5
- When setting `ZSHZ_DATA` to an XDG basedir location, the directory doesn't get created HOT 2
- Machine arm64 not supported by this plugin HOT 2
- Use preexec hook to also index the files from the commnd line
- doesn't work with prezto: "pmodload: no such module: zsh-z" HOT 1
- Autocompletion with `zap` package manager HOT 6
- Completion doesn't work HOT 7
- tmpfd file error on macOS / zinit installation HOT 1
- `ZSHZ[CHOWN,RM,MV]` aren't set when user loads zsh/files early HOT 2
- Performance Delay After Using z Command to Navigate Directories HOT 3
- [Need help]How to set the variables for zsh-z? HOT 6
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-z.