Run command:
curl https://gist.githubusercontent.com/nicholasrq/f2da0281e102144af3c3/raw/install | sh
- Create
bin/
directory in your home dir if not exists - Add
~/bin/
to your$PATH
usingexport PATH=/$HOME/bin:$PATH
in.bashrc
or.zshrc
- Copy file above to your bin directory and grant execution rights using
chmod +x lt-search
- Run
source .
orexec $SHELL
to reload your session
Also you may need to configure right paths to your Ruby and Go versions of lt-search
Usage is slightly simple lt-search [command[, options]]
command | description |
---|---|
lt-search start |
start both Ruby and GO search |
lt-search stop |
stop both Ruby and GO search |
lt-search restart |
restart both Ruby and GO search |
`lt-search pid [ruby | go]` |
lt-search upgrade |
initiate self-upgrade for ~/bin/lt-searchche |
`lt-search status [ruby | go]` |
`lt-search show [ruby | go]` |