-
Hi guys, after installing zsh every time i open terminal this error omz_history:fc:14: no such event: 1 appears, any way to fix that? |
Beta Was this translation helpful? Give feedback.
Answered by
lokize
Aug 12, 2022
Replies: 1 comment
-
ok, i fixed this problem with this: first i removed line in zshrc:
After: Change back to bash:
Next:
Copy this:
back to the zsh: source .zsh open .zshrc: and paste:
restart terminal Ps: in some cases like mine this path is /home not /root... |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lokize
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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...