Minor plugin fixes

This commit is contained in:
Arun Prakash Jana 2019-12-03 18:50:52 +05:30
parent 189042d2d9
commit 0acd18f989
No known key found for this signature in database
GPG key ID: A75979F35C080412
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,6 @@ Plugins extend the capabilities of `nnn`. They are _executable_ scripts (or bina
| Plugin (a-z) | Description | Lang | Deps |
| --- | --- | --- | --- |
| renamer | Batch rename files with qmv or vidir | sh | [renameutils](https://www.nongnu.org/renameutils/) or [moreutils](https://joeyh.name/code/moreutils/) |
| boom | Play random music from dir | sh | [moc](http://moc.daper.net/) |
| dups | List non-empty duplicate files in current dir | sh | find, md5sum,<br>sort uniq xargs |
| chksum | Create and verify checksums | sh | md5sum,<br>sha256sum |
@ -46,6 +45,7 @@ Plugins extend the capabilities of `nnn`. They are _executable_ scripts (or bina
| pdfview | View PDF file in `$PAGER` | sh | pdftotext/<br>mupdf-tools |
| picker | Pick files and list one per line (to pipe) | sh | nnn |
| pskill | Fuzzy list by name and kill process or zombie | sh | fzy, sudo/doas |
| renamer | Batch rename files | sh | [qmv](https://www.nongnu.org/renameutils/)/[vidir](https://joeyh.name/code/moreutils/) |
| ringtone | Create a variable bitrate mp3 ringtone from file | sh | date, ffmpeg |
| splitjoin | Split file or join selection | sh | split, cat |
| suedit | Edit file using superuser permissions | sh | sudoedit/sudo/doas |

View file

@ -31,7 +31,7 @@ if [ -s "$selection" ]; then
fi
if [ "$resp" = "y" ]; then
# -o flag is necessary for interative editors
# -o flag is necessary for interactive editors
xargs -o -0 $batchrenamesel < "$selection"
elif [ ! "$(LC_ALL=C ls -a)" = ".
.." ]; then