From ffb0147fdde954b1a248a84c80b110c3537a8e9d Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Fri, 31 Mar 2017 17:13:45 +0200 Subject: [PATCH] limit fzf height (no use for clearing) --- config/fish/functions/go.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/fish/functions/go.fish b/config/fish/functions/go.fish index d40686b..3e24e42 100644 --- a/config/fish/functions/go.fish +++ b/config/fish/functions/go.fish @@ -1,6 +1,6 @@ function go --description 'Jump to directories' lr /home /data /etc -L -t '(name ~~ ".*" && prune || print) && type = d && !(name = ".git")' \ - | fzf \ + | fzf --height 10 \ | read -l dir - [ "$dir" ]; and cd $dir; and clear + [ "$dir" ]; and cd $dir end