mirror of https://github.com/curusarn/resh
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
960 B
960 B
Troubleshooting
First help
Run RESH doctor to detect common issues:
reshctl doctor
Restarting RESH daemon
Sometimes restarting RESH daemon can help:
resh-daemon-restart
Two more useful commands:
resh-daemon-start
resh-daemon-stop
⚠️ You will get error messages in your shell when RESH daemon is not running.
Logs
Disabling RESH
If you have a persistent issue with RESH you can temporarily disable it.
Go to ~/.zshrc and ~/.bashrc and comment out following lines:
[[ -f ~/.resh/shellrc ]] && source ~/.resh/shellrc
[[ -f ~/.bash-preexec.sh ]] && source ~/.bash-preexec.sh # bashrc only
The second line is bash-specific so you won't find it in ~/.zshrc
RESH in bash on macOS doesn't work
A: Add line [ -f ~/.bashrc ] && . ~/.bashrc to your ~/.bash_profile.
Long Answer: Under macOS bash shell only loads ~/.bash_profile because every shell runs as login shell.