mirror of
https://github.com/jarun/nnn.git
synced 2025-03-11 17:24:06 +00:00
Use ix.io paste service
This commit is contained in:
parent
8b9f96e645
commit
57298b7fcc
2 changed files with 3 additions and 5 deletions
|
@ -28,7 +28,7 @@ The currently available plugins are listed below.
|
||||||
| nwal | sh | nitrogen | Set image as wallpaper using nitrogen |
|
| nwal | sh | nitrogen | Set image as wallpaper using nitrogen |
|
||||||
| oldbigfile | sh | find, sort | List large files by access time |
|
| oldbigfile | sh | find, sort | List large files by access time |
|
||||||
| organize | sh | file | Auto-organize files in directories by file type |
|
| 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` |
|
| pdfview | sh | pdftotext/<br>mupdf-tools | View PDF file in `$PAGER` |
|
||||||
| picker | sh | nnn | Pick files and list one per line (to pipe) |
|
| picker | sh | nnn | Pick files and list one per line (to pipe) |
|
||||||
| pywal | sh | pywal | Set image as wallpaper, change terminal colorscheme |
|
| pywal | sh | pywal | Set image as wallpaper, change terminal colorscheme |
|
||||||
|
|
|
@ -1,13 +1,11 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
# Description: Paste contents of a text a file to paste.ubuntu.com using pastebinit
|
# Description: Paste contents of a text a file http://ix.io
|
||||||
#
|
|
||||||
# pastebinit: https://launchpad.net/pastebinit
|
|
||||||
#
|
#
|
||||||
# Shell: POSIX compliant
|
# Shell: POSIX compliant
|
||||||
# Author: Arun Prakash Jana
|
# Author: Arun Prakash Jana
|
||||||
|
|
||||||
if ! [ -z "$1" ]; then
|
if ! [ -z "$1" ]; then
|
||||||
pastebinit "$1"
|
curl -F "f:1=@"$1"" ix.io
|
||||||
read input
|
read input
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue