⚙️ Startify
z-shell/zsh-startify
A plugin that aims at providing what mhinz/vim-startify plugin does but in Zsh. The analogy isn't fully easy to make. vim-startify states - it provides dynamically created headers or footers and uses configurable lists to show recently used or bookmarked files and persistent sessions.
Overview:
- Shows recently used files if used by a shell-util command, with the name of the command(s)
- Shows recently used
vimfiles - Show active
tmuxsessions - Show statistics of the most popular aliases in use
- Show recently visited projects e.g:
gitrepositories, and directories with:Makefile,CMakeLists.txt,configurescript
- Very advanced feature, inherited from
zsh-startify's predecessor:z-shell/zaccumulatorplugin - Show recently ran
gitcommands, with analysis of e.g. recently checked-out branches - Can cooperate with any bookmarking plugins to show their bookmarks
Quick start
zsh-startify accumulates data in its history file. To pre-fill it quickly with a few entries (based on the regular history) you can run the __from-zhistory-accumulate command.
Zstyles for Startify
The zstyles used to configure the plugin (add such commands anywhere in the zshrc):
zstyle ":plugin:zsh-startify:shellutils" size 5 # The size of the recently used file list (default: 5)zstyle ":plugin:zsh-startify:vim" size 5 # The size of the recently opened in Vim list (default: 5)Install Zsh Startify
The Standard install loads the plugin synchronously, at the time of execution of the zi load … command. The turbo mode loads asynchronously, 0 seconds after the prompt is first displayed.
- Standard
- Turbo mode
Standard syntax without turbo mode.
zi ice atload'zsh-startify'zi load z-shell/zsh-startifyLoad using turbo mode.
zi ice wait'0' lucid atload'zsh-startify'zi load z-shell/zsh-startify