andresgongora / synth-shell

Boost your terminal, script by script
GNU General Public License v3.0
945 stars 236 forks source link

I get errors after running setup.sh #225

Open Beegchonk opened 2 years ago

Beegchonk commented 2 years ago

Hello I have ran the setup.sh script and followed the prompts to setup synth shell, i also followed the directions and installed fonts-powerline and made sure i was using the "Hack" font and i ended up getting an error when i opened a new terminal.

Screenshot_2022-04-21_12-04-29 Screenshot_2022-04-21_12-07-40

andresgongora commented 2 years ago

Hi! Sorry to hear that. I don0t have Kali on hand to test it myself. So far, I see that it's missing bc, a terminal calculator. Try to install it and let's cross fingers, maybe all errors are related to it. let me know if it worked or at least reduced the error output

Beegchonk commented 2 years ago

It has reduced the error output just a bit but now I get something like this. Not sure if its because of that "shopt" command which I am assuming it's bash related. I am running on a zsh shell if that helps. Screenshot_2022-04-21_13-27-31

andresgongora commented 2 years ago

I'm still not sure about the -t option, but I see that it's now complaining about complete - not sure what package that is. It might be a bash function that it's unable to find? If you don't mind, try installing complete

About zhs, I've never really tested it. A friend of mine fixed some bugs a long time ago, so there is still some development to be done. Can you try with bash?

Also, if you can, go to the config and disable all or most features of the greeter (like the storage monitors and such), and reenable them one by one to see if there is a specific culprit

Beegchonk commented 2 years ago

Ah yes i've fixed the problem , well a bit (Honestly this is a learning experience for me so thank you for being patient) i just had to change to the bash shell and then comment out the 60th line in the "bash.bashrc" file. So now the beautiful shell appears for me as "root" but not as the "kali" user.

andresgongora commented 2 years ago

No worries, we are getting there!

Hmm, I think there was an issue a few weeks ago (it's closed by now) where another user had that same problem: they got it for root but not for their user. Could you reinstall the script but select for your user only?

As for zhs, if you manage to identify the problem, feel free to pull request and contribute your fixes :)

Also, I just realized. I think you should get the Kali Linux ASCII art logo, not the generic pink-cyan SynthShell logo. If you don't mind, send me a screenshot of what it looks like right now (don't forget to blur your IP)