mcfly icon indicating copy to clipboard operation
mcfly copied to clipboard

More results

Open dim-geo opened this issue 4 years ago • 5 comments

Hi,

is it possible to get more results? (>10) Is this user configurable?

dim-geo avatar May 10 '20 22:05 dim-geo

Hey @dim-geo, welcome! It's currently hardcoded here but would be easy to wire through the settings.

cantino avatar May 10 '20 23:05 cantino

I tried to get 25 but I still get 10.

Below, please, what am I doing wrong?

mowa219-gjp4-8570p% tail -n 6 ~/.zshrc 
export VISUAL=/usr/local/bin/nano

if [[ -r "/usr/local/share/zsh/site-functions/_mcfly" ]]; then
  source "/usr/local/share/zsh/site-functions/_mcfly"
fi
MCFLY_RESULTS=25
mowa219-gjp4-8570p% uname -sr
FreeBSD 13.0-CURRENT
mowa219-gjp4-8570p% pkg query '%o %v %R' mcfly 
sysutils/mcfly 0.5.2 FreeBSD
mowa219-gjp4-8570p% 

grahamperrin avatar Dec 26 '20 07:12 grahamperrin

Try export MCFLY_RESULTS=25

cantino avatar Dec 28 '20 19:12 cantino

I feel the default number should be set 25. And the environment should be written into Readme.md

lengyijun avatar Apr 29 '21 04:04 lengyijun

Or maybe 20 since sometimes people use small terminal windows. If you want to send a PR to update the default, that'd be appreciated.

cantino avatar Apr 29 '21 22:04 cantino