diff options
Diffstat (limited to '.config/nnn/plugins/joe_fzfcd')
-rwxr-xr-x | .config/nnn/plugins/joe_fzfcd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/nnn/plugins/joe_fzfcd b/.config/nnn/plugins/joe_fzfcd index 4c74f88..91accba 100755 --- a/.config/nnn/plugins/joe_fzfcd +++ b/.config/nnn/plugins/joe_fzfcd @@ -7,7 +7,8 @@ use Env qw(NNN_PIPE PWD); sub main { my $dir; - $dir = `fd -t d -L | fzf`; + $dir = `fd -t d -L | fzf --preview ' eza --color=always --icons -T -L1 {} | + head -n 200'`; chomp($dir); open(FH, '>>', $NNN_PIPE) or die $!; print FH '0c' . $PWD . '/' . $dir; |