From: Alexander Barton Date: Sun, 21 Mar 2021 16:11:48 +0000 (+0100) Subject: googler: Limit number of results depending on LINES available X-Git-Url: https://arthur.barton.de/gitweb/?p=ax-zsh.git;a=commitdiff_plain;h=f74995c662c0bfe1afdf95c6cc15ab9fa264a22a googler: Limit number of results depending on LINES available --- diff --git a/plugins/googler/googler.zshrc b/plugins/googler/googler.zshrc index 48430df..7942784 100644 --- a/plugins/googler/googler.zshrc +++ b/plugins/googler/googler.zshrc @@ -4,4 +4,4 @@ # Make sure that "googler(1)" are installed (( $+commands[googler] )) || return -alias g="googler" +alias g="googler -n $((LINES/6))"