Removed time taken for zsh to load as it went down from 0.5s to 0.05s so
basically instant
This commit is contained in:
5
.zshrc
5
.zshrc
@@ -1,5 +1,3 @@
|
||||
START_TIME=$(date +%s.%3N)
|
||||
|
||||
# Install zinit if missing
|
||||
if [[ ! -f $HOME/.local/share/zinit/zinit.git/zinit.zsh ]]; then
|
||||
print -P "%F{33} %F{220}Installing %F{33}ZDHARMA-CONTINUUM%F{220} Initiative Plugin Manager (%F{33}zdharma-continuum/zinit%F{220})…%f"
|
||||
@@ -131,6 +129,3 @@ fi
|
||||
if [ -z "$TMUX" ]; then
|
||||
k switch $HOME
|
||||
fi
|
||||
|
||||
END_TIME=$(date +%s.%4N)
|
||||
echo "Zsh startup time: $(echo "${END_TIME} - ${START_TIME}" | bc) seconds"
|
||||
|
||||
Reference in New Issue
Block a user