]> Sergey Matveev's repositories - nnn.git/commitdiff
Change requires to dependencies
authorArun Prakash Jana <engineerarun@gmail.com>
Wed, 6 May 2020 05:29:57 +0000 (10:59 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Wed, 6 May 2020 05:29:57 +0000 (10:59 +0530)
18 files changed:
plugins/.cbcp
plugins/.ntfy
plugins/README.md
plugins/autojump
plugins/dragdrop
plugins/dups
plugins/fzopen
plugins/hexview
plugins/launch
plugins/mediainf
plugins/mimelist
plugins/moclyrics
plugins/oldbigfile
plugins/pskill
plugins/ringtone
plugins/upload
plugins/vidthumb
plugins/x2sel

index 8830e90ed6c306931b6b6a247ba2b2a26a79eb6b..bd9910a93577711125066325f55844a5443c36df 100755 (executable)
@@ -1,15 +1,16 @@
 #!/usr/bin/env sh
 
 # Description: Copy selection to system clipboard as newline-separated entries
-# Requires: tr and
-#           xclip/xsel (Linux)
-#           pbcopy (macOS)
-#           termux-clipboard-set (Termux)
-#           clip.exe (WSL)
-#           clip (Cygwin)
-#           wl-copy (Wayland)
+# Dependencies:
+# - tr
+# - xclip/xsel (Linux)
+# - pbcopy (macOS)
+# - termux-clipboard-set (Termux)
+# - clip.exe (WSL)
+# - clip (Cygwin)
+# - wl-copy (Wayland)
 #
-# LIMITATION: breaks if a filename has newline in it
+# Limitation: breaks if a filename has newline in it
 #
 # Note: For a space-separated list:
 #       xargs -0 < "$SELECTION"
index fe0e18a5b2ea7f1c22830340b39fe654bfdb6579..590ebbdb7efc138a3e3bda354606c1351577768d 100755 (executable)
@@ -4,7 +4,7 @@
 #
 # Details: nnn invokes this plugin to show notification when a cp/mv/rm operation is complete.
 #
-# Requires: notify-send (Ubuntu)/ntfy (https://github.com/dschep/ntfy)/osascript (macOS)
+# Dependencies: notify-send (Ubuntu)/ntfy (https://github.com/dschep/ntfy)/osascript (macOS)
 #
 # Shell: POSIX compliant
 # Author: Anna Arad
index 17184a81a4105d112e7365ab803347ba02219930..5b4b75c8db46e8a7ff2b10b395fd7e99f9f0a0f3 100644 (file)
@@ -24,7 +24,7 @@ Plugins are installed to `${XDG_CONFIG_HOME:-$HOME/.config}/nnn/plugins`.
 
 ## List of plugins
 
-| Plugin (a-z) | Description | Lang | Deps |
+| Plugin (a-z) | Description | Lang | Dependencies |
 | --- | --- | --- | --- |
 | autojump | Navigate to dir/path | sh | autojump |
 | boom | Play random music from dir | sh | [moc](http://moc.daper.net/) |
index db221f370f8c7cbf1b00b0d5692003f2186fa895..54ff07b7565665b4c85cffac8563b7be7b6aed39 100755 (executable)
@@ -2,7 +2,7 @@
 
 # Description: Navigate to directory using autojump
 #
-# Requires: autojump - https://github.com/wting/autojump
+# Dependencies: autojump - https://github.com/wting/autojump
 #
 # Note: autojump STORES NAVIGATION PATTERNS
 #
index 5734d98e5f5fb1cc3b5df5130702f973603cc725..a69ed84101a4805e32461be44fa9d771b7605873 100755 (executable)
@@ -3,7 +3,7 @@
 # Description: Open a Drag and drop window, to drop files onto other programs.
 #              Also provides drag and drop window for files.
 #
-# Requires: https://github.com/mwh/dragon
+# Dependencies: https://github.com/mwh/dragon
 #
 # Notes:
 # - Files that are dropped will be added to nnn's selection
index d44ecfcf6df1494970ef072b8b5b73b7327c01c4..4f31fc6dfbba035b63a79a8aa6a3f789c2f8fefc 100755 (executable)
@@ -4,7 +4,7 @@
 #
 # Source: https://www.commandlinefu.com/commands/view/3555/find-duplicate-files-based-on-size-first-then-md5-hash
 #
-# Requires: find md5sum sort uniq xargs
+# Dependencies: find md5sum sort uniq xargs
 #
 # Shell: POSIX compliant
 # Authors: syssyphus, KlzXS
index e262d684e323288bc97ef55850cce71cb70c7c55..a678627d1327f6e02b493ae54212b97c77c08221 100755 (executable)
@@ -4,7 +4,7 @@
 #              Opens in $VISUAL or $EDITOR if text
 #              Opens other type of files with xdg-open
 #
-# Requires: fd/find, fzf/fzy/skim, xdg-open
+# Dependencies: fd/find, fzf/fzy/skim, xdg-open
 #
 # Shell: POSIX compliant
 # Author: Arun Prakash Jana
index 3f45583b2180fc9260357817f3c15e6d2580fb1a..60b342817b664cabfd99e14fb502ed0fe4f1811c 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/env sh
 
 # Description: View a file in hex
-# Requires: xxd and $PAGER
+# Dependencies: xxd and $PAGER
 #
 # Shell: POSIX compliant
 # Author: Arun Prakash Jana
index 0444e91b23002ba7b31c9badb7971f82adc5044f..e98314071ee5b9024a27f367839c55f70beaf981 100755 (executable)
@@ -9,7 +9,7 @@
 #
 #              xfce4-terminal -e "${XDG_CONFIG_HOME:-$HOME/.config}/nnn/plugins/launch
 #
-# Requires: fzf/fzy
+# Dependencies: fzf/fzy
 #
 # Usage: launch [delay]
 #        delay is in seconds, if omitted launch waits for 1 sec
index f76b56b6db1584680a28080428ea7b2b26415c12..15640b4d4d20f763320ba668e531da167181679c 100755 (executable)
@@ -2,7 +2,7 @@
 
 # Description: Show media information of a file in pager
 #
-# Requires: mediainfo
+# Dependencies: mediainfo
 #
 # Shell: POSIX compliant
 # Author: Arun Prakash Jana
index f179e6e38f3db68845220525a0691828fd8e9af7..f38b5fe119e3d7bcbb51b174026938426402e3ee 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/env sh
 
 # Description: Run fd/find in subtree and list files by mime type in smart context
-# Requires: fd/find
+# Dependencies: fd/find
 #
 # Shell: POSIX compliant
 # Author: Arun Prakash Jana
index d9619f9709fbda7dde45204961f3f14e94b37ead..04e899ea93febafbebef01401c28575f7509ae35 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/env sh
 
 # Description: Fetches the lyrics of the track currently playing in MOC
-#              Requires ddgr (https://github.com/jarun/ddgr)
+# Dependencies: ddgr (https://github.com/jarun/ddgr)
 #
 # Shell: POSIX compliant
 # Author: Arun Prakash Jana
index 68f4bed82dc205696ba4a3877ef2eb8a3fa948d2..0a21527fafefe438da6fa58dcccec0df646ab5d3 100755 (executable)
@@ -2,7 +2,7 @@
 
 # Description: List files bigger than input size by ascending access date.
 #
-# Requires: find sort
+# Dependencies: find sort
 #
 # Shell: POSIX compliant
 # Author: Arun Prakash Jana
index fdb5396dffb2dbfb57e1d817302e49ea6b7fa4f2..c23034f7b6b46c0723b81f9ad2fbca8fee96123d 100755 (executable)
@@ -2,7 +2,7 @@
 
 # Description: Fuzzy list and kill a (zombie) process by name
 #
-# Requires: fzf or fzy, ps
+# Dependencies: fzf or fzy, ps
 #
 # Note: To kill a zombie process enter "zombie"
 #
index 38c11bda0fc8e4498d16187228b5c4bfeb3a04ff..c18f255db8fc8a9fe4c2c821b6663006e4d5a4bd 100755 (executable)
@@ -7,7 +7,7 @@
 #              Tip: To convert a complete media file, set start as 0 and
 #              the runtime of the file as end.
 #
-# Requires: date, ffmpeg
+# Dependencies: date, ffmpeg
 #
 # Shell: POSIX compliant
 # Author: Arun Prakash Jana
index 28112d4762651549e85c555d85bb83e023c995fc..f2df1c0514b03165d7b4b17fd04d5ebef0d2643c 100755 (executable)
@@ -2,7 +2,7 @@
 
 # Description: Paste contents of a text a file http://ix.io
 #              Upload a binary file to file.io
-# Requires: curl, jq, tr
+# Dependencies: curl, jq, tr
 # Note: Binary file set to expire after a week
 #
 # Shell: POSIX compliant
index 6411eb1c294a3161428d316d547993f1524aa1ba..248abd76327c455ea010a27ddaf5b80ddaf4d6e0 100755 (executable)
@@ -2,7 +2,7 @@
 
 # Description: Generate video thumbnails and view them
 #
-# Requires:
+# Dependencies:
 #    ffmpegthumbnailer: https://github.com/dirkvdb/ffmpegthumbnailer
 #    lsix: https://github.com/hackerb9/lsix
 #
index 88f9dcc5d0b2b5395eb5e972825293e16746ff91..09ac68f6a7db10db57397ac4e8ee0631b79d2aad 100755 (executable)
@@ -1,13 +1,14 @@
 #!/usr/bin/env sh
 
 # Description: Copy system clipboard newline-separated file list to selection
-# Requires: tr and
-#           xclip/xsel (Linux)
-#           pbpaste (macOS)
-#           termux-clipboard-get (Termux)
-#           powershell (WSL)
-#           cygwim's /dev/clipboard (Cygwin)
-#           wl-paste (Wayland)
+# Dependencies:
+#  - tr
+#  - xclip/xsel (Linux)
+#  - pbpaste (macOS)
+#  - termux-clipboard-get (Termux)
+#  - powershell (WSL)
+#  - cygwim's /dev/clipboard (Cygwin)
+#  - wl-paste (Wayland)
 #
 # Limitation: breaks if a filename has newline in it
 #