diff --git a/src/apps/terminal/TitlePlaceholderMapper.cpp b/src/apps/terminal/TitlePlaceholderMapper.cpp index 0da52d27dd..236d5ed122 100644 --- a/src/apps/terminal/TitlePlaceholderMapper.cpp +++ b/src/apps/terminal/TitlePlaceholderMapper.cpp @@ -47,8 +47,11 @@ TitlePlaceholderMapper::MapPlaceholder(char placeholder, int64 number, } case 'p': - // process name - _string = fProcessInfo.Name(); + // process name -- use "--", if the shell is active + if (fProcessInfo.ID() == fProcessInfo.ShellProcessID()) + _string = "--"; + else + _string = fProcessInfo.Name(); return true; }