Skip to content

A zsh plugin for zplug that lets you see how long it took to load each plugin

License

Notifications You must be signed in to change notification settings

jkcdarunday/zplug-blame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

zplug-blame

A zsh plugin for zplug that lets you see how long it took for each zplug plugin to load

Usage

Make sure that this plugin is loaded before any other plugins.

Print plugin load times with zplug's total load time

If you want to print the total time since zplug has loaded, you can follow the ff. example in your .zshrc:

export ZPLUG_BLAME_START_TIME=$(date +%s%N)
. /usr/share/zsh/scripts/zplug/init.zsh

zplug 'jkcdarunday/zplug-blame'
# Your other zplug plugins go here

zplug check || zplug install
zplug load
zplug_blame::print_load_time

Print plugin load times only

If you don't want to print the zplug load time, you can omit the export and print_load_time lines like in the ff. example:

. /usr/share/zsh/scripts/zplug/init.zsh

zplug 'jkcdarunday/zplug-blame'
# Your other zplug plugins go here

zplug check || zplug install
zplug load

About

A zsh plugin for zplug that lets you see how long it took to load each plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages