76c102944c8c164f2cf8908712b6c6a1d9fe5d70

Author
Ilyes Kechidi <ilyes.spd@gmail.com>
Committer
Ilyes Kechidi <ilyes.spd@gmail.com>
Date

Message

added a transfer.sh plugin
created a function to easily upload files to transfer.sh file sharing
site
Usage : transfer file.txt

Diff

This diff is truncated to protect this page.

 1diff --git a/plugins/transfer/transfer.plugin.zsh b/plugins/transfer/transfer.plugin.zsh
 2new file mode 100644
 3index 0000000000000000000000000000000000000000..7d0d84beae98a03cbe59217e2e48d31f93a1435c
 4--- /dev/null
 5+++ b/plugins/transfer/transfer.plugin.zsh
 6@@ -0,0 +1,7 @@
 7+# transfer.sh Easy file sharing from the command line
 8+# transfer Plugin
 9+# Usage Example :
10+# > transfer file.txt
11+
12+transfer() { if [ $# -eq 0 ]; then echo "No arguments specified. Usage:\necho transfer /tmp/test.md\ncat /tmp/test.md | transfer test.md"; return 1; fi