2a71aa50170db6892abb3e173ba425c554744b37

Author
Felipe Contreras <felipe.contreras@gmail.com>
Committer
GitHub <noreply@github.com>
Date

Message

chore(gitfast): remove update script (#12262)

Co-authored-by: Carlo Sala <carlosalag@protonmail.com>

Diff

 1diff --git a/.github/dependencies.yml b/.github/dependencies.yml
 2index 12beaecbb65e89e67d4322f38729cfb10fda8924..d60ab2c92f020e9f412bf0e2fc77e9a21462e103 100644
 3--- a/.github/dependencies.yml
 4+++ b/.github/dependencies.yml
 5@@ -2,7 +2,7 @@ dependencies:
 6   plugins/gitfast:
 7     repo: felipec/git-completion
 8     branch: master
 9-    version: tag:v2.0
10+    version: tag:v2.1
11     postcopy: |
12       set -e
13       rm -rf git-completion.plugin.zsh Makefile README.adoc t tools
14diff --git a/plugins/gitfast/README.md b/plugins/gitfast/README.md
15index fed4b120afc7b73ad0cf7795bfd69ab525a9f83b..60b84a23cccd2c0ffc090dad17fa02715de9cca1 100644
16--- a/plugins/gitfast/README.md
17+++ b/plugins/gitfast/README.md
18@@ -7,9 +7,3 @@ To use it, add `gitfast` to the plugins array in your zshrc file:
19 ```zsh
20 plugins=(... gitfast)
21 ```
22-
23-## Aliases
24-
25-An earlier version of the plugin also loaded the git plugin. If you want to keep those
26-aliases enable the [git plugin](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/git)
27-as well.
28diff --git a/plugins/gitfast/gitfast.plugin.zsh b/plugins/gitfast/gitfast.plugin.zsh
29index a6db0c6bdfc0898546960fbfdbd49e6b7fc86601..c456eff7f19653f0c3f1d46e48bc8865ea0c16bb 100644
30--- a/plugins/gitfast/gitfast.plugin.zsh
31+++ b/plugins/gitfast/gitfast.plugin.zsh
32@@ -1,6 +1,6 @@
33 # Handle $0 according to the standard:
34 # https://zdharma-continuum.github.io/Zsh-100-Commits-Club/Zsh-Plugin-Standard.html
35-0="${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}}"
36+0="${ZERO:-${${0:#$ZSH_ARGZERO}:-${(%):-%N}}}"
37 0="${${(M)0:#/*}:-$PWD/$0}"
38 
39 source "${0:A:h}/git-prompt.sh"
40diff --git a/plugins/gitfast/update b/plugins/gitfast/update
41deleted file mode 100755
42index feb13ff7ed2858ff75dbc6d50eebb38287df9a8a..0000000000000000000000000000000000000000
43--- a/plugins/gitfast/update
44+++ /dev/null
45@@ -1,8 +0,0 @@
46-#!/bin/sh
47-
48-url="https://raw.githubusercontent.com/felipec/git-completion"
49-version="1.3.7"
50-
51-curl -s -o _git "${url}/v${version}/git-completion.zsh" &&
52-curl -s -o git-completion.bash "${url}/v${version}/git-completion.bash" &&
53-curl -s -o git-prompt.sh "${url}/v${version}/git-prompt.sh"