aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/nuke
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-11 18:23:46 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-11 18:23:46 +0530
commit490359f853a2c04daa11d081afa1e7090579a52e (patch)
tree0055de4cca7c285a3a7ce9e46f89ceec4a79deb9 /plugins/nuke
parent70dcbf43d786da63598ad1080c518e4c44baa7bd (diff)
downloadnnn-490359f853a2c04daa11d081afa1e7090579a52e.tar.gz
nuke: open manpages, reload dir after dot
Diffstat (limited to 'plugins/nuke')
-rwxr-xr-xplugins/nuke5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/nuke b/plugins/nuke
index 8883034..6f08527 100755
--- a/plugins/nuke
+++ b/plugins/nuke
@@ -371,6 +371,11 @@ handle_multimedia() {
handle_mime() {
mimetype="${1}"
case "${mimetype}" in
+ ## Manpages
+ text/troff)
+ man -l "${FPATH}"
+ exit 0;;
+
## Text
text/* | */xml)
vi "${FPATH}"