]> Sergey Matveev's repositories - nnn.git/commitdiff
Minor plugin fixes
authorArun Prakash Jana <engineerarun@gmail.com>
Tue, 3 Dec 2019 13:20:52 +0000 (18:50 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Tue, 3 Dec 2019 13:22:40 +0000 (18:52 +0530)
plugins/README.md
plugins/renamer

index 17f575064010927883fe2c400770872832d7a4ca..86d541c85c03b02bc84e9615ae51755ff73ede4c 100644 (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 |
index 5dc8271528b2ceec15f55c62d6132accbf882f35..8ea2d928c9c7aadd9e28a6da848cb5330fe963ba 100755 (executable)
@@ -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