mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Minor plugin fixes
This commit is contained in:
parent
189042d2d9
commit
0acd18f989
|
@ -14,7 +14,6 @@ Plugins extend the capabilities of `nnn`. They are _executable_ scripts (or bina
|
||||||
|
|
||||||
| Plugin (a-z) | Description | Lang | Deps |
|
| 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/) |
|
| 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 |
|
| 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 |
|
| 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 |
|
| pdfview | View PDF file in `$PAGER` | sh | pdftotext/<br>mupdf-tools |
|
||||||
| picker | Pick files and list one per line (to pipe) | sh | nnn |
|
| 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 |
|
| 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 |
|
| ringtone | Create a variable bitrate mp3 ringtone from file | sh | date, ffmpeg |
|
||||||
| splitjoin | Split file or join selection | sh | split, cat |
|
| splitjoin | Split file or join selection | sh | split, cat |
|
||||||
| suedit | Edit file using superuser permissions | sh | sudoedit/sudo/doas |
|
| suedit | Edit file using superuser permissions | sh | sudoedit/sudo/doas |
|
||||||
|
|
|
@ -31,7 +31,7 @@ if [ -s "$selection" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$resp" = "y" ]; then
|
if [ "$resp" = "y" ]; then
|
||||||
# -o flag is necessary for interative editors
|
# -o flag is necessary for interactive editors
|
||||||
xargs -o -0 $batchrenamesel < "$selection"
|
xargs -o -0 $batchrenamesel < "$selection"
|
||||||
elif [ ! "$(LC_ALL=C ls -a)" = ".
|
elif [ ! "$(LC_ALL=C ls -a)" = ".
|
||||||
.." ]; then
|
.." ]; then
|
||||||
|
|
Loading…
Reference in a new issue