Swordfish90 / cool-retro-term

A good looking terminal emulator which mimics the old cathode display...
21.78k stars 837 forks source link

putting "clear" into start-up scripts causes terminal to crash on start-up. #755

Open kasparwinston opened 1 year ago

kasparwinston commented 1 year ago

I put "clear" into the start-up scripts box in settings, and now the terminal crashes immediately on start-up. Deleting and reinstalling didn't work. How do I fix this?

alexmyczko commented 1 year ago

clear, ctrl-l is not a script that can be launched at startup?

aarond0623 commented 1 year ago

That's because the box is what to run instead of the shell. So what's happening is instead of running bash, CRT is running clear and then exiting immediately. So another use would be butting something like zsh or fish in there if you wanted CRT to use those shells instead of your default.

From the terminal, run with default settings using cool-retro-term --default-settings. That should stop it from crashing.

Then, if you want the terminal to clear, you could either add it to ~/.bashrc or create a new bash configuration file and run it in CRT by changing that setting to bash --rcfile myconfigfile.