Commit 9813ff5f authored by Andrew Janke's avatar Andrew Janke
Browse files

omz_diagnostic_dump: Add umask and $fpath listing.

This helps catch issues with compinit and insecure directories.
parent af681652
...@@ -106,6 +106,7 @@ function _omz_diag_dump_one_big_text() { ...@@ -106,6 +106,7 @@ function _omz_diag_dump_one_big_text() {
builtin echo OSTYPE=$OSTYPE builtin echo OSTYPE=$OSTYPE
builtin echo ZSH_VERSION=$ZSH_VERSION builtin echo ZSH_VERSION=$ZSH_VERSION
builtin echo User: $USER builtin echo User: $USER
builtin echo umask: $(umask)
builtin echo builtin echo
# Installed programs # Installed programs
...@@ -159,13 +160,19 @@ function _omz_diag_dump_one_big_text() { ...@@ -159,13 +160,19 @@ function _omz_diag_dump_one_big_text() {
command locale command locale
builtin echo builtin echo
# Zsh configuration # Zsh installation and configuration
builtin echo Zsh configuration: builtin echo Zsh configuration:
builtin echo setopt: $(builtin setopt) builtin echo setopt: $(builtin setopt)
builtin echo builtin echo
builtin echo zstyle: builtin echo zstyle:
builtin zstyle builtin zstyle
builtin echo builtin echo
builtin echo 'compaudit output:'
compaudit
builtin echo
builtin echo '$fpath directories:'
command ls -lad $fpath
builtin echo
# Oh-my-zsh installation # Oh-my-zsh installation
builtin echo oh-my-zsh installation: builtin echo oh-my-zsh installation:
...@@ -195,7 +202,7 @@ function _omz_diag_dump_one_big_text() { ...@@ -195,7 +202,7 @@ function _omz_diag_dump_one_big_text() {
builtin bindkey builtin bindkey
builtin echo builtin echo
builtin echo "infocmp:" builtin echo "infocmp:"
command infocmp command infocmp -L
builtin echo builtin echo
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment