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:
2025-05-16 11:36:55 +03:00
parent b05cad07d3
commit 3bdb802fd2

5
.zshrc
View File

@@ -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"