Score:0

Unable to use terminal

im flag

system info

The terminal colour changes automatically, but I am not able to use the terminal for executing the commands. I have used pywal and the code used is:

while true
do
wal -q -i /home/amithkumar/Pictures
sleep 1
done

If I remove these lines, the terminal runs smoothly. But I want these lines to remain in my .zshrc file, so how can I fix this?

The only way I can use the terminal is by entering into root directory, Ctrl+C, and then to home, Ctrl+C, and then it stops changing the terminal command.

screenshot of temrinal

Ctrl+Z and Ctrl+X don't work.

David avatar
cn flag
What version of Ubuntu are you using?
Amith Kumar avatar
im flag
Ubuntu 22.04 LTS Jammy Jellyfish
Soren A avatar
mx flag
The code you have add'ed runs an infinite loop (while true ...) and will block the terminal for any interactive use. What do you want to achieve with the added code ? Maybe there are an other way ?
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.