Repository

Belligerently/TempCD

TempCD

Open github.com

Belligerently/TempCD

TempCD

A lightweight Rust CLI that provides the `tcd` command to temporarily change into a directory for one interactive command, then automatically return to the original directory. Supports Nushell and Zsh integration.

Visit project

Show me a random project

First shared
Nov 13, 2026
HN activity
10

Show HN@zaflaloNov 13, 2026

Show HN: TempCD – Temporarily CD in a directory with one command

TempCD is just a small thing I made, its only purpose it to eliminate having to enter cd again after only wanting to do one command in a directory. Super simple, just:

tcd ~/example

~/example> command command output

That's it, just returns you back to where you were before without having to type cd again.

Community

Hacker News discussion

Loading the thread…