# Working Directory

> Set a default working directory for new Warp sessions, with options for home directory, previous session, custom path, or per-window/tab/pane configuration.

- 网址：https://funcoding.ai/agents/warp/terminal/more-features/working-directory/
- 来源：Warp 官方文档原文（英文），MIT 许可，同步于 2026-10-11
- 官方原文：https://docs.warp.dev/terminal/more-features/working-directory/

---
## What is it

Warp's working directory feature is designed to enhance your workflow by enabling you to set up a default directory for new sessions. This feature helps you save time and quickly access your preferred directories when starting new sessions. You have the flexibility to set up a working directory for all new sessions or customize it individually for Windows, Tabs, and Panes, based on your specific needs.

## How to access it

* Open **Settings** > **Features** > **Session** and go to "Working directory for new sessions".
* The drop-down for this feature provides several options discussed below:
  * Home Directory, is the default option for new sessions and opens new sessions in the currently logged-in user's home folder `~/`.
  * Previous session's directory, opens new sessions in your active session's current directory.
  * Custom directory, opens new sessions in a file path you specify.
  * Advanced, allows you to select from the three options for new sessions in Windows, Tabs, and Panes.

## How to use it
