Thanks to visit codestin.com
Credit goes to github.com

Skip to content

kaito4681/fish-ghq-ssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

fish-ghq-ssh

Install

fisher install kaito4681/fish-ghq-ssh

Keybindings

  • Ctrl+g: Repository finder
  • Ctrl+r: Toggle search mode (Local Repositories ⇄ Remote SSH Repositories)

Configuration

Add the following configurations to your ~/.config/fish/config.fish.

GHQ_REMOTE_HOSTS (Required for remote search)

Define a list of remote hosts you want to search. These hostnames must be configured in your ~/.ssh/config or be resolvable.

# example
set -gx GHQ_REMOTE_HOSTS myserver1 myserver2

GHQ_PATH_<HOST> (Optional)

If ghq is not in the default $PATH on the remote machine, or if you want to specify a custom path/command for a specific host, define a variable named GHQ_PATH_<HOST_NAME>.

# example
set -gx GHQ_PATH_myserver1 /usr/local/bin/ghq
set -gx GHQ_PATH_myserver2 /home/user/go/bin/ghq

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages