Commit Graph

24 Commits

Author SHA1 Message Date
KlzXS b392dd3723
Added -- to all instances of cp, mv or rm dealing with user provided paths 2024-02-13 14:32:42 +01:00
Arun Prakash Jana b0580905f2
Add Makefile target shellcheck 2022-07-18 18:28:16 +05:30
NRK 24db74fd7b fzcd: avoid using non-portable xargs flag 2022-02-01 18:00:20 +06:00
KlzXS 20e0c49292
Replace fd dependency with find (#1078) 2021-06-21 04:59:50 +05:30
Arun Prakash Jana 9de941306c
NNN_PLUG: use ! as run-cmd-as-plugin symbol (earlier _) 2021-06-06 18:37:49 +05:30
Arun Prakash Jana d87414eb61
Plugin fzcd - decouple from selection 2021-06-06 17:07:23 +05:30
Arun Prakash Jana 6f29138299
Clear the selection for uniform behaviour 2021-05-29 16:06:42 +05:30
Arun Prakash Jana 4bc8e1a8be
Rename plugin fzdirs to fzcd, retains fzcd features 2021-05-29 01:12:12 +05:30
Arun Prakash Jana 462531b8c7
Plugin fzdirs: fuzzy search multiple directories 2021-05-28 19:17:08 +05:30
Arun Prakash Jana 430833326b
Minor plugin update 2021-04-17 19:25:07 +05:30
Arun Prakash Jana bd95763c7a
Fix shellcheck report 2021-03-14 12:59:24 +05:30
Arun Prakash Jana e8577baab2
Fix #876: fzcd - go to dir and select file 2021-03-14 12:19:40 +05:30
Arun Prakash Jana 9e3bd377b0
Remove trailing spaces 2020-11-22 20:54:49 +05:30
Jan Meischner 474ad74f25
Allow absolute paths returned by fzf in fzcd plugin (#682)
* Allow absolute paths returned by fzf in fzcd plugin

* Fix issue with POSIX syntax

* Add descriptive comment

* Add comment

* Remove description

* Add new line at the end of the file

Co-authored-by: Jan Meischner <jan.meischner@verimi.com>
2020-07-21 13:27:56 +05:30
Arun Prakash Jana 4832fc5fe1
Drop fzy support 2020-05-06 18:41:01 +05:30
Arun Prakash Jana c01857cddb
Fix fzcd at /, minot refactor 2020-03-31 22:26:20 +05:30
Arun Prakash Jana 877f7b4d62
Exit if dir is unchanged 2019-12-09 23:27:10 +05:30
Arun Prakash Jana 885cfd4734
Support both fzf and fzy 2019-12-09 18:36:48 +05:30
Arun Prakash Jana 819bddaac9
Fix build break 2019-12-09 01:57:31 +05:30
Vidar Holen 1bf49c80e7 Some of the shell script fixes as per discussion (#389)
* Improved completion support for files with spaces

Filenames with spaces, both generally and for session names, will now
complete as expected.

* Misc shell script improvements

See discussion on:
1cca9e4b72
2019-11-26 18:06:31 +05:30
Arun Prakash Jana 1cca9e4b72
shellcheck fixes 2019-11-22 11:13:34 +05:30
Arun Prakash Jana 5b7448bac9
Various plugin fixes
1. getplugs should work even if nnn is not run
2. Remove redundant ./ prefix
3. Update plugin docs
2019-11-20 19:19:09 +05:30
Arun Prakash Jana 6ea64288bc
Fix #379 2019-11-09 03:47:49 +05:30
Anna Arad 9afd7cf3bf Implement plugins control of nnn + plugins (#364)
* Implement plugins control of nnn + plugins

* Refactor plugins control code and fix getplugs to recognize hidden files

* Fix bug when going to dir on non-current context from plugin

* Fix some plugins to work on openbsd and freebsd

* Renamings

* Switch to -R flag in cp instead of -r; BSDs complain

* Change braces of function location

* Rewrite plugin creation in README and add new plugins to the table

* Update the fzcd script to include fzy or fzf

* Change plugin name resolve-link-dir -> lncd

* Fixing plugins README table

* Remove some cd plugins but add them as examples to plugins README
2019-10-23 15:34:12 +05:30