# cds **Repository Path**: shanewa/cds ## Basic Information - **Project Name**: cds - **Description**: Deep paths get typed once and then forgotten. cds stores them as names, jumps straight there, and keeps working on Linux, WSL2, Cygwin, Git Bash, and macOS. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-10-30 - **Last Updated**: 2026-10-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: Linux, Cli ## README
Deep paths get typed once and then forgotten. `cds` stores them as names, jumps straight there, and keeps working on Linux, WSL2, Cygwin, Git Bash, and macOS. ## Why the name `cds` is typed with the left hand alone. On a QWERTY keyboard, `c`, `d`, and `s` sit close together on the left side, and `d` and `s` are on the home row. Your fingers barely leave their resting position, so the command goes out fast, one-handed, and without a reach. Each keystroke is a short, comfortable move. ## Install Works with bash 3.2+ or zsh on Linux, WSL2, Cygwin, Git Bash, and macOS. ```bash curl -fsSL https://raw.githubusercontent.com/shanewa/cds/main/install.sh | sh ``` In mainland China, use the Gitee mirror. The installer also tries Gitee on its own when GitHub is unreachable. ```bash curl -fsSL https://gitee.com/shanewa/cds/raw/main/install.sh | sh ``` Prefer to read the script before running it: ```bash curl -fsSL -o install.sh https://raw.githubusercontent.com/shanewa/cds/main/install.sh less install.sh sh install.sh ``` Set `CDS_RAW_BASE` to fetch from one source only, for example `CDS_RAW_BASE=https://gitee.com/shanewa/cds/raw/main sh install.sh`. The installer saves `cds` to `~/.local/share/cds/cds` and adds one `alias cds=...` line to `~/.bashrc`, `~/.bash_profile` (macOS bash), or `~/.zshrc`. Run it again to update `cds`. The alias is not added twice. Installing from a clone instead? Source the script yourself. `cd` has to happen in the shell you are already using, so never execute it. ```bash alias cds=". /path/to/cds/src/cds" ``` Requires bash 3.2+ or zsh. ```text cds work # jump to a saved alias cds -a work -p # save the current directory as work cds -g # walk the only subdirectory until the path forks cds -w 'C:\src' # land on the POSIX path for that Windows folder ``` ## Commands ```text cds [ --help|-h ] [