We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cfecc3 commit b6c2e17Copy full SHA for b6c2e17
1 file changed
home/dot_zshrc
@@ -24,15 +24,7 @@ source "${ZINIT_HOME}/zinit.zsh"
24
# Use modern completion system
25
# ref: https://gist.github.com/ctechols/ca1035271ad134841284
26
autoload -Uz compinit
27
-local now=$(date +"%s")
28
-local updated=$(date -r ~/.zcompdump +"%s")
29
-local threshold=$((60 * 60 * 24))
30
-if [ $((${now} - ${updated})) -gt ${threshold} ]; then
31
- compinit
32
-else
33
- # if there are new functions can be omitted by giving the option -C.
34
- compinit -C
35
-fi
+compinit
36
37
[ $(command -v dircolors) ] && eval "$(dircolors -b)"
38
@@ -104,7 +96,7 @@ source <(fzf --zsh)
104
96
105
97
# pyenv
106
98
if command -v pyenv 1>/dev/null 2>&1; then
107
- eval "$(pyenv init -)"
99
+ eval "$(pyenv init - --no-rehash)"
108
100
fi
109
101
110
102
# cargo
0 commit comments