Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Plugins
- X-seq: zsh-users 23833
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: "Hoji, Akihiko" <akh22@xxxxxxxx>
- Subject: Re: Plugins
- Date: Wed, 9 Jan 2019 17:45:37 +0100
- Cc: "zsh-users@xxxxxxx" <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=h0E9GnXkLXc/Xm2jU2GoDZu95ptMNjLaRPnN9dvI3g4=; b=JdyEWsXYyhvVk6lkn+7S+a/fPsKUw9zJjOETbyhUKAld2YZRjJc3F9wzvSSOMVKiXZ rSPYEnE3clM8uY9hMRV6MTHQbMHVF28NZePQSVfrmKMcAvh/+nWKaOCrFjQcL/OXkCrM T81OAPSg5Bhkoouw36qM4uLdaF93g8yCVZvy9JsSxF/FkJTTgbouTXNm2mAclaDEUzBn BvyW/rTbVzfFTBS0zhNeaucbjnLXThiWsuJ4+9U0MHqtiHkGET6Hm7pT63NoFJRTNv8l zPy64rzL0v0M4O7q2ibx2wLXXrVBOqqwVG9btkAxdGk3/yqmVJqjhR9y96BnPOAIl+PI Ohdg==
- In-reply-to: <B68A7310-7ACC-42AB-961E-BB1A50D9E0F2@pitt.edu>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <B68A7310-7ACC-42AB-961E-BB1A50D9E0F2@pitt.edu>
I'm using over 22 plugins (the above #22 being a git extensions loaded
as plugins, but they're included in the attached zplugin-section.txt
file), loaded by Zplugin in Turbo mode (so till-prompt time, i.e. zsh
startup time, is ≤ 110 ms, tested now with `repeat 5 { time
/usr/local/bin/zsh-5.6.2-dev-1 -i -c exit }', first cache-unwarmed,
OSX-typical–after-pause–in–use–lagging results were ≤ 777 ms):
0. zplugin load zdharma/zsh-unique-id # assigns unique identification
of the current Zsh session, but numeric in $ZUID_ID (== e.g. "5") and
textual in $ZUID_CODENAME (== .e.g "proxima")
1. zplugin snippet OMZ::lib/git.zsh # for some prompts to work, and
also to keep in touch with OMZ-"ideas"
2. zplugin load zdharma/zconvey # for inter-shell-communication via
`zc-alll' {command-t-to-send-to-other-zshells)
3. zplugin load zdharma/zredis # for
variable-per-Redis-database-key binding, e.g. to share variables
between machines, also across network
4. zplugin light zservices/redis # A zplugin service, which
runs Redis database in background of one Zsh session, moving to an
other session if the current is closed
5. zplugin load psprint/zsh-editing-workbench # some edition bindings,
like Alt-m to copy the shell-word on the left (see:
https://github.com/psprint/zsh-editing-workbench#introduction)
6. zplugin load psprint/zsh-navigation-tools # for n-options and for
Syntax-Highlighting tests – for editing of the large (10kB) function
`n-history' in `zed -f', i.e. `zed -f n-history'
7. zplugin load zdharma/history-search-multi-word # a better
zsh-navigation-tools's n-history - a syntax highlighted history, with
support for searching for term1 (AND) term2 (AND) ..., i.e. for terms
used in AND-fashion.
8. zplugin load psprint/zprompts # a few prompts of mine
9. zplugin load halfo/lambda-mod-zsh-theme # a theme, loaded in turbo
mode (see the complete invocation in the attached Zplugin section of
~/.zshrc)
10. zplugin load ergenekonyigit/lambda-gitster # theme, loaded like
the above, i.e. 8th
11. zplugin load geometry-zsh/geometry # a theme, loaded like the 8th
plugin above
12. zplugin load sindresorhus/pure # a theme, loaded like the 8th plugin above
13. zplugin load ~/github2/agkozak-zsh-prompt # atheme that I was
developing, loaded from local disk-copy (i.e. `~/github2/agkozak....'
– i.e. a local path passed to zplugin), like tha bove 8th plugin
14. zplugin load zdharma/zui # a TUI libraries, I've sometimes use
its zui-demo-nmap to run the network scanner
15. zplugin load zdharma/zplugin-crasis # zolugin's Textual User
Interface (i.e. a TUI)
16. zplugin load ~/gitlab/zsh-tag-search.git # A history-search with
tags support, available only to patrons (www.patreon.com/psprint).
17. zplugin load voronkovich/gitignore.plugin.zsh # Provides `gii'
command that appens given .gitignore templates into this file; use
case is e.g.: `cd github2/zplugin; gii vim' # append vim-helper-files
to .gitignore'
18. zplugin load zsh-users/zsh-autosuggestions # the after-prompt-text
automatic fish-like suggestions
19. zplugin load zdharma/fast-syntax-highlighting # fork of
zsh-users/zsh-syntax-highlighting – an extended version of it
20. zplugin load psprint/fsh-auto-themes # a per-directory theme
assigning plugin – e.g. you do `echo safari >| ~/github/zplugin.git'
and have the syntax-highlighting theme automatically switched when
entering and when leaving this directory
21. zplugin load zdharma/zsh-diff-so-fancy # an extension for Git –
advanced diff tool, produces much more information-rich and readable
diffs
Al the `zplugin load ...' calls should be preceded by an `zplugin ice
...' call – attached zplugin section from `/~/.zshrc has them
On Mon, 7 Jan 2019 at 22:57, Hoji, Akihiko <akh22@xxxxxxxx> wrote:
>
> Hi,
>
> In the ever expanding universe of ZSH plug-ins, I am curious to see what plugins ZSH users are using, particularly from those who run ZSH under OSX and Linux bistros so that I can incorporate them. I do a bit of Python, Java, Ruby, and R scripting, and remote (clusters) and local machine management …etc.
>
> Thanks.
>
>
> AH
--
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org
# 1/
zplugin load zdharma/zsh-unique-id
# 2/
zplugin ice wait"0" lucid
zplugin snippet OMZ::lib/git.zsh
# 3/
zplugin ice wait"0" silent
zplugin load zdharma/zconvey
# 4/
zplugin ice pick"cmds/zc-bg-notify" as"command" wait"0" silent
zplugin load zdharma/zconvey
# 5/
zplugin ice wait'1' atload'ztie -d db/redis -a 127.0.0.1:4815/5 -P $HOME/.zredisconf -zSL main rdhash' lucid
# 6/
zplugin load zdharma/zredis
zplugin ice service"redis" lucid wait"1"
# 7/
zplugin ice wait"0" lucid
zplugin load psprint/zsh-editing-workbench
# 8/
zplugin ice wait"0" lucid
zplugin load psprint/zsh-navigation-tools # for n-history
# 9/
zplugin ice wait"1" lucid
zplugin load zdharma/history-search-multi-word
# 10/
zplugin ice load'![[ $MYPROMPT = 1 ]]' unload'![[ $MYPROMPT != 1 ]]' atload'!promptinit; typeset -g PSSHORT=0; prompt sprint3' lucid
zplugin load psprint/zprompts
# 10/
zplugin ice load'![[ $MYPROMPT = 2 ]]' unload'![[ $MYPROMPT != 2 ]]' lucid
zplugin load halfo/lambda-mod-zsh-theme
# 11/
zplugin ice load'![[ $MYPROMPT = 3 ]]' unload'![[ $MYPROMPT != 3 ]]' lucid
zplugin load ergenekonyigit/lambda-gitster
# 12/
#GEOMETRY_COLOR_DIR=63
#zplugin ice load'![[ $MYPROMPT = 4 ]]' unload'![[ $MYPROMPT != 4 ]]' atload"prompt_geometry_render" lucid
#zplugin load geometry-zsh/geometry
# 12/
# Development version of the geometry plugin - helping jedahan making a new geometry release
zplugin ice load'![[ $MYPROMPT = 4 ]]' unload'![[ $MYPROMPT != 4 ]]' atload"geometry::clear_title; geometry::prompt; geometry::rprompt" lucid ver"mnml"
zplugin load jedahan/geometry
# 13/
zplugin ice ice load'![[ $MYPROMPT = 5 ]]' unload'![[ $MYPROMPT != 5 ]]' \
multisrc"{async,pure}.zsh" pick"/dev/null" idas"pure-prompt"
zplugin load sindresorhus/pure
# 14/
zplugin ice ice load'![[ $MYPROMPT = 6 ]]' unload'![[ $MYPROMPT != 6 ]]' lucid
zplugin load agkozak/agkozak-zsh-theme
# select initially activated theme (geometry, `myprompt' idx:4)
MYPROMPT=4
# 15/
zplugin ice wait"1" lucid
zplugin load zdharma/zui
# 16/
zplugin ice wait'[[ -n ${ZLAST_COMMANDS[(r)cras*]} ]]' lucid
zplugin load zdharma/zplugin-crasis
# 17/
zplugin ice wait'0' lucid
zplugin load ~/gitlab/zsh-tag-search.git
# 18/
zplugin ice wait"2" lucid
zplugin load voronkovich/gitignore.plugin.zsh
# 19/
#ZSH_AUTOSUGGEST_USE_ASYNC=1
zplugin ice wait"0" atload"_zsh_autosuggest_start" lucid
zplugin load zsh-users/zsh-autosuggestions
# 19/
zplugin ice wait"1" atinit"ZPLGM[COMPINIT_OPTS]=-C; zpcompinit; zpcdreplay; FAST_WORK_DIR=XDG;"
zplugin load zdharma/fast-syntax-highlighting
# 20/
zplugin ice wait"1" lucid
zplugin load psprint/fsh-auto-themes
# 21/ zsh-diff-so-fancy
zplugin ice wait"2" lucid as"program" pick"bin/git-dsf"
zplugin load zdharma/zsh-diff-so-fancy
# >= 22/ git-now
zplugin ice wait"2" lucid as"program" pick"$ZPFX/bin/git-now" make"prefix=$ZPFX install"
zplugin load iwata/git-now
# >= 22/ git-extras
zplugin ice wait"2" lucid as"program" pick"$ZPFX/bin/git-alias" make"PREFIX=$ZPFX"
zplugin load tj/git-extras
# >= 22/ git-cal
zplugin ice wait"2" lucid as"program" atclone'perl Makefile.PL PREFIX=$ZPFX' atpull'%atclone' \
make'install' pick"$ZPFX/bin/git-cal"
zplugin load k4rthik/git-cal
# >= 22/ git-url
zplugin ice wait"2" lucid as"program" pick"$ZPFX/bin/git-(url|guclone)" make"install PREFIX=$ZPFX"
zplugin load zdharma/git-url
# >= 22/ git-recall
zplugin ice wait"3" lucid pick"git-recall" as"command"
zplugin load Fakerr/git-recall
: marzocchi/zsh-notify nicely works with zc-bg-notify
: zplugin ice wait"0" blockf lucid
: zplugin light marzocchi/zsh-notify
: zplugin ice load'![[ $PWD = */github/* ]]' unload'![[ $PWD != */github/* ]]'
: zplugin light denysdovhan/spaceship-zsh-theme
Messages sorted by:
Reverse Date,
Date,
Thread,
Author