diff --git a/plugins/transfer/README.md b/plugins/transfer/README.md new file mode 100644 index 00000000..4dc8a5ca --- /dev/null +++ b/plugins/transfer/README.md @@ -0,0 +1,6 @@ +# Transfer.sh + +[Transfer.sh](https://transfer.sh/) plugin - easy file sharing from the command line + +## Usage +Just type `transfer hello.txt` and let the magic happen diff --git a/plugins/transfer/transfer.plugin.zsh b/plugins/transfer/transfer.plugin.zsh new file mode 100644 index 00000000..b13e6a16 --- /dev/null +++ b/plugins/transfer/transfer.plugin.zsh @@ -0,0 +1,30 @@ +# From https://transfer.sh/ +# Modified by Gabriel Kaam + +function transfer() { + if [[ $# -eq 0 ]]; then + cat >&2 <