---
title: "Discussion on \"Auto-Rename Terminal Tabs Based on Current Directory\" | Hashnode"
description: "Discussion on \"Auto-Rename Terminal Tabs Based on Current Directory\". Learn how to auto-update Tabby or terminal tab titles with your current folder name using a simple Bash or Zsh function. Boost clarity and productivity."
url: "https://hashnode.com/posts/auto-rename-terminal-tabs-based-on-current-directory/689306f6af5188db9fb81894"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Auto-Rename Terminal Tabs Based on Current Directory](https://offbyone.hashnode.dev/auto-rename-terminal-tabs-based-on-current-directory?utm_source=hashnode&utm_medium=feed)

Learn how to auto-update Tabby or terminal tab titles with your current folder name using a simple Bash or Zsh function. Boost clarity and productivity.

Jun 23, 2025 · 3 min read · offbyone.hashnode.dev  
Read the article

-   [#productivity](https://hashnode.com/tag/productivity)
-   [#bash](https://hashnode.com/tag/bash)
-   [#terminal](https://hashnode.com/tag/terminal)
-   [#shell-script](https://hashnode.com/tag/shell-script)

## Written by

[Alessandro Annini](https://hashnode.com/@sunrising)

@sunrising

  
[View profile](https://hashnode.com/@sunrising)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
