summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-05-16 11:36:55 +0300
committerKyren223 <Kyren223@proton.me>2025-05-16 11:36:55 +0300
commit3bdb802fd25dfbd1208b5469f4682d95820c0094 (patch)
tree6d99e4c59a58e6ff9a520151f2f07c810d27e5a2
parentb05cad07d3d9f7927b8acbe4ba6ca09e9087e44c (diff)
Removed time taken for zsh to load as it went down from 0.5s to 0.05s so
basically instant
-rw-r--r--.zshrc5
1 files changed, 0 insertions, 5 deletions
diff --git a/.zshrc b/.zshrc
index 3031b9c..07cd7e6 100644
--- a/.zshrc
+++ b/.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"