Replies: 4 comments 2 replies
-
Yo!!! Now I believe that I am getting some more time to work on repo and test. I have to get |
Beta Was this translation helpful? Give feedback.
-
This is what checkhealth shows. telescope._extensions.repo: require("telescope._extensions.repo.health").check()
========================================================================
- WARNING: Install `glow` for a better preview of markdown files
- OK: Will use `bat` to preview markdown READMEs
- OK: Will use `bat` to preview non-markdown READMEs
- OK: locate: found `glocate`
locate (GNU findutils) 4.8.0
Packaged by Homebrew
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Eric B. Decker, James Youngman, and Kevin Dalley.
- ERROR: `:Telescope repo cached_list` was unsucessful. Exit code: 1
glocate -r /\.git$ -l 2
- OK: fd: found `fd`
fd 8.3.0
- INFO: Repos found for `:Telescope repo list`:
/Users/hjalmarjakobsson/code/plugins/nvim/telescope-repo.nvim... |
Beta Was this translation helpful? Give feedback.
-
This is the command I had stored for loading the database to ~/locatedb. # https://egeek.me/2020/04/18/enabling-locate-on-osx/
if which glocate > /dev/null; then
alias locate="glocate -d $HOME/locatedb"
[[ -f "$HOME/locatedb" ]] && export LOCATE_PATH="$HOME/locatedb"
fi
alias loaddb="gupdatedb --localpaths=$HOME --prunepaths=/Volumes --output=$HOME/locatedb" |
Beta Was this translation helpful? Give feedback.
-
IT WORKS!!! The problem was that I forgot to reload shell after loading the database. I have to figure out a better way of doing this. |
Beta Was this translation helpful? Give feedback.
-
When the use of the locate command was initially introduced, we have not been able to confirm that the locate command worked. @molleweide kindly volunteered to check this particular message. The purpose of this thread is to continue the discussion started in the PR to get
locate
to work on Mac OS.As I don’t have a Mac to test on, I used this GitHub action workflow to get the extension to work on a bare bone system. So the following command executed on a setup similar to the workflow should yield a list of repositories on the system:
Anyone feel free to report problems using the
cached_list
command here. Thanks!EDIT: I’ve added support for
:checkhealth telescope
, the output might be further indication of anything going wrong.Beta Was this translation helpful? Give feedback.
All reactions