Score:0

Terminal always opens empty

by flag

recently every terminal I open is totally empty, with active cursor but no directory. To keep going I always must press CTRL + C, like I have to kill process or something.

I assume it has to do with my recent installation of Vscode. But if I close all programs and then open a terminal it is still empty. even a fresh reboot doesn't help.

Ubuntu 22.04.2 LTS

Maybe you got some hints to solve it.

hr flag
If there's a process running any time you invoke an interactive shell, it's most likely started via one of the shell's initialization files - for bash, those would be `~/.bashrc`, `/etc/bash.bashrc` and so on. So check those first.
waltinator avatar
it flag
To debug your `~/.bashrc`, _temporarily_ put `set -x` at the beginning. Logout/login, or just invoke it with `. ~/.bashrc`.
IngoHe avatar
by flag
I solved it, the was an "ng completion script" running in the ~/.bashrc . Thanks for your help.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.