mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
- Read .profile in ~/.zshenv: ensuring non-login & non-interactive shell gets env set - Comments on every zsh and zinit config - Async load Zinit plugins - Remove unnecessary plugins - Create completion dumpfile once a day max
11 lines
388 B
Bash
11 lines
388 B
Bash
#!/bin/zsh
|
|
|
|
# https://blog.patshead.com/2011/04/improve-your-oh-my-zsh-startup-time-maybe.html
|
|
skip_global_compinit=1
|
|
|
|
# https://github.com/sorin-ionescu/prezto/blob/master/runcoms/zshenv
|
|
# Ensure that a non-login, non-interactive shell has a defined environment.
|
|
if [[ ( "$SHLVL" -eq 1 && ! -o LOGIN ) && -s "${ZDOTDIR:-$HOME}/.profile" ]]; then
|
|
source "${ZDOTDIR:-$HOME}/.profile"
|
|
fi
|