1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-09 17:00:44 +01:00

transfer: add deprecation notice (#7372)

Fixes #7371

Signed-off-by: Arvindraj <arvindultimate7352@gmail.com>
Co-authored-by: Stephen Ward <stephen@whilenotzero.com>
This commit is contained in:
Arvindraj
2018-11-02 22:10:13 +05:30
committed by Marc Cornellà
parent fa9d93008b
commit 05b617066b
2 changed files with 13 additions and 1 deletions

View File

@@ -12,6 +12,14 @@
# Modified to use tar command instead of zip
#
echo -ne '\e[1;33m'
cat <<-EOF
[oh-my-zsh] WARNING: The 'transfer' plugin is deprecated and will be removed after
[oh-my-zsh] transfer.sh shuts down on November 30th. We suggest you stop using the
[oh-my-zsh] plugin and find an alternative file hosting service.
EOF
echo -ne '\e[0m'
curl --version 2>&1 > /dev/null
if [ $? -ne 0 ]; then
echo "Could not find curl."
@@ -64,4 +72,4 @@ transfer() {
# cleanup
rm -f $tmpfile
}
}