mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
various important improvements
This commit is contained in:
parent
f93aa9d24b
commit
597092aa83
6 changed files with 274 additions and 37 deletions
10
oh-my-zsh.sh
10
oh-my-zsh.sh
|
|
@ -25,7 +25,15 @@ alias helios='helios -z http://localhost:5801'
|
|||
fpath=($ZSH/functions $ZSH/completions $fpath)
|
||||
|
||||
# Load all stock functions (from $fpath files) called below.
|
||||
autoload -U compaudit compinit
|
||||
# Only check daily from https://carlosbecker.com/posts/speeding-up-zsh/
|
||||
# autoload -U compinit && compinit -u
|
||||
# autoload -U compaudit compinit
|
||||
autoload -Uz compinit
|
||||
if [ $(date +'%j') != $(stat -f '%Sm' -t '%j' ~/.zcompdump) ]; then
|
||||
compinit
|
||||
else
|
||||
compinit -C
|
||||
fi
|
||||
|
||||
# Set ZSH_CUSTOM to the path where your custom config files
|
||||
# and plugins exists, or else we will use the default custom/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue