Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/serpent7776/cg
Quickly switch between directories in git versioned project.
https://github.com/serpent7776/cg
directory git shell switcher utility
Last synced: 17 days ago
JSON representation
Quickly switch between directories in git versioned project.
- Host: GitHub
- URL: https://github.com/serpent7776/cg
- Owner: serpent7776
- Created: 2023-04-23T20:30:46.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-04-29T18:24:52.000Z (almost 2 years ago)
- Last Synced: 2024-11-17T12:32:52.977Z (3 months ago)
- Topics: directory, git, shell, switcher, utility
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cg
Quickly switch between directories in git versioned project.
## Usage
- `sh`:
```sh
eval $(sh /full/path/to/activate.sh)
```- `bash`, `zsh`:
```sh
. /full/path/to/activate.sh
```- `tcsh`:
```tcsh
source /full/path/to/activate.csh /full/path/to/activate.csh
```- `fish`:
```fish
. /full/path/to/activate.fish
```Once activated, press `Ctrl-G` to show directories in fuzzy finder (`fzy` by default).
## Configuration
Environment variables:
- `CG_FF`: Specifies fuzzy finder to be used. `fzy` by default.
## Requirements
- `git`
- `awk`
- `fzy` or any other fuzzy finder