Skip to content

Every time i open zsh i have this error "omz_history:fc:14: no such event: 1" #11113

Answered by lokize
lokize asked this question in Help
Discussion options

You must be logged in to vote

ok, i fixed this problem with this:

first i removed line in zshrc:

source /root/.bashrc

After:

Change back to bash:

source .bashrc

Next:

echo $PATH

Copy this:

/root/youruser/....

back to the zsh:

source .zsh

open .zshrc:

and paste:

export PATH=/root/youruser/....

restart terminal

Ps: in some cases like mine this path is /home not /root...

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lokize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
1 participant