Nick Janetakis 9/2/2025

Prevent Tmux from Starting a Login Shell by Default

Read Original

This technical article explains a common Tmux behavior where it launches a login shell for each new pane/window, executing shell profile scripts. It provides a configuration fix to set the default command to the user's shell without the login flag, improving performance and preventing issues like accidentally spawning multiple window managers. The post includes a configuration snippet and a demonstration video.

Prevent Tmux from Starting a Login Shell by Default

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes