Skip to content

Commit

Permalink
Zdharma links
Browse files Browse the repository at this point in the history
  • Loading branch information
agkozak committed Oct 30, 2021
1 parent 568b3e9 commit 318a7ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ This prompt has been tested on numerous Linux and BSD distributions, as well as
- Asynchronous method improvements: `subst-async` has been tweaked to provide more stability and speed on all systems. `usr1` has been made faster through the elimination of a subshell. It is now the default asynchronous method in all Windows environments.
- I have provided the code for [my own Zenburn custom prompt](#my-zenburn-custom-prompt).
- v3.5.0 (November 15, 2019)
- The prompt now supports the [zdharma Zsh plugin unload function standard](https://github.com/zdharma/Zsh-100-Commits-Club/blob/master/Zsh-Plugin-Standard.adoc#unload-fun) which is currently implemented by the zplugin framework. When the function `agkozak-zsh-prompt_plugin_unload` is invoked, the state of the shell before agkozak-zsh-prompt was loaded is restored.
- The prompt now supports the [zdharma Zsh plugin unload function standard](https://github.com/agkozak/Zsh-100-Commits-Club/blob/master/Zsh-Plugin-Standard.adoc#unload-fun) which is currently implemented by the zplugin framework. When the function `agkozak-zsh-prompt_plugin_unload` is invoked, the state of the shell before agkozak-zsh-prompt was loaded is restored.
- For debugging purposes, `WARN_CREATE_GLOBAL` is now applied to individual functions whether or not debugging mode is enabled. On Zsh v5.4.0+ and when `AGKOZAK_PROMPT_DEBUG` is set to `1`, all functions have `WARN_NESTED_VAR` applied to them.
- Measures have been taken to avoid problems when the shell options `KSH_ARRAYS` and `SH_WORD_SPLIT` have been enabled.
- When loaded on terminals without color, the prompt avoids using subshells when eliminating color codes from the `PROMPT` and `RPROMPT` strings.
Expand Down Expand Up @@ -189,7 +189,7 @@ Add the line

to your `.zshrc` somewhere before the line that says `zgen save`.

### For [Zinit](https://github.com/zdharma/zinit) (formerly `zplugin`) users

This comment has been minimized.

Copy link
@ss-o

ss-o Nov 6, 2021

We will do our best to keep previous contributors up to date on our repository.

Kind regards,
@z-shell/zinit

### For Zinit (formerly `zplugin`) users

Run the command

Expand Down
4 changes: 2 additions & 2 deletions agkozak-zsh-prompt.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ _agkozak_vi_mode_indicator() {
######################################################################

# Standarized $0 handling
# (See https://github.com/zdharma/Zsh-100-Commits-Club/blob/master/Zsh-Plugin-Standard.adoc)0=${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}})
# (See https://github.com/agkozak/Zsh-100-Commits-Club/blob/master/Zsh-Plugin-Standard.adoc)0=${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}})
0=${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}}
0=${${(M)0:#/*}:-$PWD/$0}
AGKOZAK[PROMPT_DIR]="${0:A:h}"
Expand Down Expand Up @@ -1083,7 +1083,7 @@ prompt_agkozak-zsh-prompt_help() {
############################################################
# Unload function
#
# See https://github.com/zdharma/Zsh-100-Commits-Club/blob/master/Zsh-Plugin-Standard.adoc#unload-fun
# See https://github.com/agkozak/Zsh-100-Commits-Club/blob/master/Zsh-Plugin-Standard.adoc#unload-fun
############################################################
agkozak-zsh-prompt_plugin_unload() {
local x
Expand Down

0 comments on commit 318a7ad

Please sign in to comment.