diff --git a/zshenv b/zshenv index d7bc359..55a115a 100644 --- a/zshenv +++ b/zshenv @@ -18,6 +18,6 @@ init_path init_env init_env_python -if autoload +X init_env_$SYS; then +if autoload +X init_env_$SYS &>-; then init_env_$SYS fi diff --git a/zshrc b/zshrc index 395a4de..328b225 100644 --- a/zshrc +++ b/zshrc @@ -19,11 +19,12 @@ init_zsh_options init_zsh_history init_app_environments -autoload +X init_rc_$SYS -init_rc_$SYS +if autoload +X init_rc_$SYS &>-; then + init_rc_$SYS +fi # Configure ls with the system ls if it hasn't been done already. -if ! alias ls 2>&1 1>/dev/null; then +if ! alias ls &>-; then init_configure_ls `which ls` fi