Skip to content
JSchimmelpfennigPublic

About

plocate based terminal search with clickable and colored links using OSC 8

Resources

Stars

0 stars

Watchers

2 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Why?

  • Fast search under Linux is needed because Everything is not available for Linux
  • plocate by default doesn't show clickable links, so OSC 8 is used to show clickable links (if the terminal emulator supports it)
  • Change parent_directory to the root folder where your search should start (e.g. /home)
  • The search is not case-sensitive. Can be changed but removing -i from locate -i
  • Create a cronjob to run updatedb -U /path/to/parent_directory (consider sudo) every $n$ minutes. For example: * * * * * updatedb -U /parent_directory >/dev/null 2>&1 for updating every minute.

How to use with bash

  • Create a file jj in /usr/local/bin and fill it with the content of the file in this repository.
  • /usr/local/bin is by default in path and you can start your search from your terminal by jj search_pattern

first

About

plocate based terminal search with clickable and colored links using OSC 8

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages