feat(gitfast): update plugin script

This is the latest version.
This commit is contained in:
Felipe Contreras 2024-03-06 03:50:26 -06:00
commit 6b423617af

View file

@ -1,6 +1,6 @@
# Handle $0 according to the standard: # Handle $0 according to the standard:
# https://zdharma-continuum.github.io/Zsh-100-Commits-Club/Zsh-Plugin-Standard.html # https://zdharma-continuum.github.io/Zsh-100-Commits-Club/Zsh-Plugin-Standard.html
0="${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}}" 0="${ZERO:-${${0:#$ZSH_ARGZERO}:-${(%):-%N}}}"
0="${${(M)0:#/*}:-$PWD/$0}" 0="${${(M)0:#/*}:-$PWD/$0}"
source "${0:A:h}/git-prompt.sh" source "${0:A:h}/git-prompt.sh"