From cf987fa9885127bccc5da0750584bca0f49d684e Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sat, 16 Nov 2019 11:22:34 +0530 Subject: [PATCH] Plugin treeview to show tree o/p with perms and size --- plugins/README.md | 1 + plugins/treeview | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100755 plugins/treeview diff --git a/plugins/README.md b/plugins/README.md index 95e2321e..b3a3a3ce 100644 --- a/plugins/README.md +++ b/plugins/README.md @@ -44,6 +44,7 @@ The currently available plugins are listed below. | sxiv | sh | sxiv | View images in dir, set wallpaper, copy path ([config](https://wiki.archlinux.org/index.php/Sxiv#Assigning_keyboard_shortcuts))| | thumb | sh | [lsix](https://github.com/hackerb9/lsix) | View thumbnail of an image or dir of images | | transfer | sh | curl | Upload file to transfer.sh | +| treeview | sh | tree | Informative tree output in `$EDITOR` | | uidgid | sh | ls, less | List user and group of all files in dir | | upgrade | sh | curl | Upgrade nnn manually on Debian 9 Stretch | | vidthumb | sh | [ffmpegthumbnailer](https://github.com/dirkvdb/ffmpegthumbnailer),
[lsix](https://github.com/hackerb9/lsix) | Show video thumbnails in terminal | diff --git a/plugins/treeview b/plugins/treeview new file mode 100755 index 00000000..c8f8784a --- /dev/null +++ b/plugins/treeview @@ -0,0 +1,8 @@ +#!/usr/bin/env sh + +# Description: Show tree output in $EDITOR +# +# Shell: POSIX compliant +# Author: Arun Prakash Jana + +tree -ps | $EDITOR -