Переглянути джерело

Use ix.io paste service

master
Arun Prakash Jana 5 роки тому
джерело
коміт
57298b7fcc
Не вдалося знайти GPG ключ що відповідає даному підпису Ідентифікатор GPG ключа: A75979F35C080412
2 змінених файлів з 3 додано та 5 видалено
  1. +1
    -1
      plugins/README.md
  2. +2
    -4
      plugins/pastebin

+ 1
- 1
plugins/README.md Переглянути файл

@@ -28,7 +28,7 @@ The currently available plugins are listed below.
| nwal | sh | nitrogen | Set image as wallpaper using nitrogen |
| oldbigfile | sh | find, sort | List large files by access time |
| organize | sh | file | Auto-organize files in directories by file type |
| pastebin | sh | [pastebinit](https://launchpad.net/pastebinit) | Paste contents of (text) file to paste.ubuntu.com |
| pastebin | sh | - | Paste contents of a text a file ix.io |
| pdfview | sh | pdftotext/<br>mupdf-tools | View PDF file in `$PAGER` |
| picker | sh | nnn | Pick files and list one per line (to pipe) |
| pywal | sh | pywal | Set image as wallpaper, change terminal colorscheme |


+ 2
- 4
plugins/pastebin Переглянути файл

@@ -1,13 +1,11 @@
#!/usr/bin/env sh

# Description: Paste contents of a text a file to paste.ubuntu.com using pastebinit
#
# pastebinit: https://launchpad.net/pastebinit
# Description: Paste contents of a text a file http://ix.io
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana

if ! [ -z "$1" ]; then
pastebinit "$1"
curl -F "f:1=@"$1"" ix.io
read input
fi

||||||
x
 
000:0
Завантаження…
Відмінити
Зберегти