1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-12 08:50:08 +00:00

Revert "transfer: add deprecation notice (#7372)" (#7402)

This reverts commit 05b617066b.
This commit is contained in:
Marc Cornellà 2018-11-13 10:54:33 +01:00 committed by GitHub
parent 05b617066b
commit 3d8f2bda59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 13 deletions

View file

@ -1,9 +1,5 @@
# `transfer` plugin # `transfer` plugin
**NOTICE: The `transfer` plugin is deprecated and will be removed soon, since the [transfer.sh](https://transfer.sh) service will be shutdown on 30th November 30th, 2018. Please move your files to an alternative file sharing service provider.**
----
[`transfer.sh`](https://transfer.sh) is an easy to use file sharing service from the command line [`transfer.sh`](https://transfer.sh) is an easy to use file sharing service from the command line
## Usage ## Usage

View file

@ -12,14 +12,6 @@
# Modified to use tar command instead of zip # 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 curl --version 2>&1 > /dev/null
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "Could not find curl." echo "Could not find curl."
@ -72,4 +64,4 @@ transfer() {
# cleanup # cleanup
rm -f $tmpfile rm -f $tmpfile
} }