1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-23 21:01:58 +00:00

omz_diagnostic_dump: Add umask and $fpath listing.

This helps catch issues with compinit and insecure directories.
This commit is contained in:
Andrew Janke 2015-06-28 16:54:04 -04:00
parent af68165207
commit 9813ff5f24

View file

@ -106,6 +106,7 @@ function _omz_diag_dump_one_big_text() {
builtin echo OSTYPE=$OSTYPE
builtin echo ZSH_VERSION=$ZSH_VERSION
builtin echo User: $USER
builtin echo umask: $(umask)
builtin echo
# Installed programs
@ -159,13 +160,19 @@ function _omz_diag_dump_one_big_text() {
command locale
builtin echo
# Zsh configuration
# Zsh installation and configuration
builtin echo Zsh configuration:
builtin echo setopt: $(builtin setopt)
builtin echo
builtin echo zstyle:
builtin zstyle
builtin echo
builtin echo 'compaudit output:'
compaudit
builtin echo
builtin echo '$fpath directories:'
command ls -lad $fpath
builtin echo
# Oh-my-zsh installation
builtin echo oh-my-zsh installation:
@ -195,7 +202,7 @@ function _omz_diag_dump_one_big_text() {
builtin bindkey
builtin echo
builtin echo "infocmp:"
command infocmp
command infocmp -L
builtin echo
fi