Comments (8)
Sorry to hear you're having this problem. It's one I don't think I've heard reported before. I'm sure we'll get it sorted out, though -- and thanks for reporting it.
I don't suppose you'd be willing to share your .zshrc
? Sometimes that makes identifying your specific situation much easier.
from zsh-z.
@agkozak thank you so much for replying! And sorry for the late response, dunno why but i didn't get a notification. My .zshrc looks like this:
# This zshrc requires you to have the following installed to be fully functional - all of which I highly recommend using:
# jq - https://stedolan.github.io/jq/
# fzf - https://github.com/junegunn/fzf
# python3.9 - https://www.python.org/downloads/
# black - https://github.com/psf/black
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
ZSH_THEME="kolo"
plugins=(
git
history
z
)
# User configuration
export EDITOR='code'
alias python="python3.10"
alias python3="python3.10"
alias pip="python3.10 -m pip"
# edit/source this file
alias ezs="$EDITOR $HOME/.zshrc"
alias szs="source $HOME/.zshrc"
# for versioning .zshrc and other files - https://www.atlassian.com/git/tutorials/dotfiles
alias dotfiles="/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME"
source $ZSH/oh-my-zsh.sh
source ~/.appsecrets
# enable fzf https://github.com/junegunn/fzf
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# Version control of dotfiles https://dotfiles.github.io/
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME'
dst () {dotfiles status}
dacp () {dotfiles add -u && dotfiles commit -m "$@" && dotfiles push}
# add some convenient git shorthands
gacp () {BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD) && git pull && git add . && git commit -m "$BRANCH_NAME: $@" && git push}
gacpn () {BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD) && git add . && git commit -m "$BRANCH_NAME: $@" && git push --set-upstream origin $BRANCH_NAME}
# For persisting history of commands.
# For more info, please refer to https://code.visualstudio.com/remote/advancedcontainers/persist-bash-history
export PROMPT_COMMAND='history -a'
# export HISTFILE=~/commandhistory/.zsh_history # commented out because command history keeps being wiped for some wierd reason
HISTSIZE=500000
SAVEHIST=600000
setopt BANG_HIST # Treat the '!' character specially during expansion.
setopt EXTENDED_HISTORY # Write the history file in the ":start:elapsed;command" format.
setopt INC_APPEND_HISTORY # Write to the history file immediately, not when the shell exits.
setopt SHARE_HISTORY # Share history between all sessions.
setopt HIST_EXPIRE_DUPS_FIRST # Expire duplicate entries first when trimming history.
setopt HIST_IGNORE_DUPS # Don't record an entry that was just recorded again.
setopt HIST_IGNORE_ALL_DUPS # Delete old recorded entry if new entry is a duplicate.
setopt HIST_FIND_NO_DUPS # Do not display a line previously found.
setopt HIST_SAVE_NO_DUPS # Don't write duplicate entries in the history file.
setopt HIST_REDUCE_BLANKS # Remove superfluous blanks before recording entry.
setopt HIST_VERIFY # Don't execute immediately upon history expansion.
setopt HIST_BEEP # Beep when accessing nonexistent history.
#add custom scripts to path
export PATH="$HOME/bin:/usr/bin:$PATH"
#add python stuff to path
export PATH="$HOME/Library/Python/3.10/bin:$PATH"
export OPENBLAS="$(brew --prefix openblas)"
export CFLAGS="-falign-functions=8 ${CFLAGS}"
Please let me know if there is anything else I can do to further the debugging of this issue!
from zsh-z.
Thanks for providing your .zshrc
. I don't have a Mac to test it with, but I tried it on the slowest computer I have (an old Raspberry Pi), and I could not reproduce the lag you report.
Can you do an experiment for me? Run
cd ~/.oh-my-zsh
git checkout bf7c1b16
zsh
and see if it makes a difference.
When you're done playing around with that, you can return to your original configuration using
cd ~/.oh-my-zsh
git checkout master
Thanks -- let me know how it goes.
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
- [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.