mirror of https://github.com/ohmyzsh/ohmyzsh.git
Add zsh session init debugging command
parent
61e59c45e8
commit
d746c5daa1
|
@ -48,4 +48,10 @@ As a last resort, if you're getting weird behavior and can't find the culprit, r
|
|||
```shell
|
||||
zsh -xv &> >(tee ~/omz-debug.log 2>/dev/null)
|
||||
```
|
||||
|
||||
Afterwards, reproduce the behavior (_i.e._ if it's a particular command, run it), and when you're done, run `exit` to stop the debugging session. This will create a `omz-debug.log` file on your home directory, which you can upload to [gist.github.com](https://gist.github.com/) and link to it on the issue you'll open next.
|
||||
|
||||
If you only need to debug the session initialization, you can do so with the command:
|
||||
```shell
|
||||
zsh -xvic exit &> ~/omz-debug.log
|
||||
```
|
Loading…
Reference in New Issue