limit fzf height (no use for clearing)

This commit is contained in:
Felix Van der Jeugt 2017-03-31 17:13:45 +02:00
parent f151dfedb6
commit ffb0147fdd
No known key found for this signature in database
GPG Key ID: 58B209295023754D

View File

@ -1,6 +1,6 @@
function go --description 'Jump to directories' function go --description 'Jump to directories'
lr /home /data /etc -L -t '(name ~~ ".*" && prune || print) && type = d && !(name = ".git")' \ lr /home /data /etc -L -t '(name ~~ ".*" && prune || print) && type = d && !(name = ".git")' \
| fzf \ | fzf --height 10 \
| read -l dir | read -l dir
[ "$dir" ]; and cd $dir; and clear [ "$dir" ]; and cd $dir
end end