diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-11-16 11:22:34 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-11-16 11:22:34 +0530 |
commit | cf987fa9885127bccc5da0750584bca0f49d684e (patch) | |
tree | 570c5871d37f8b439b9cf0f627ec4f8bb1a0cef1 | |
parent | e82f6d02cdbfda3afbc66997adf15c8b4a2a5317 (diff) | |
download | nnn-cf987fa9885127bccc5da0750584bca0f49d684e.tar.gz |
Plugin treeview to show tree o/p with perms and size
-rw-r--r-- | plugins/README.md | 1 | ||||
-rwxr-xr-x | plugins/treeview | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/plugins/README.md b/plugins/README.md index 95e2321..b3a3a3c 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),<br>[lsix](https://github.com/hackerb9/lsix) | Show video thumbnails in terminal | diff --git a/plugins/treeview b/plugins/treeview new file mode 100755 index 0000000..c8f8784 --- /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 - |