andresgongora / synth-shell

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

custom prompt only for root kali #258

Closed PitiPipouSauvage closed 7 months ago

PitiPipouSauvage commented 7 months ago

I installed synth-shell on a kali linux machine and i tried to do user installs and global installs. It only seems to work out for the root user. I saw someone already had this issue but it didn't work for me. image

andresgongora commented 7 months ago

Can you confirm synth-shell is included in your user's bashrc file? Maybe kali uses something different... please look under your user's home folder for the file .bashrc, and at the end of it there should be a hook for synth shell (if you installed it for your user). If you did global install, then it should be sourced for all users. Did you try to log out and back in?

On Tue, Dec 19, 2023 at 8:23 PM Obsidious @.***> wrote:

I installed synth-shell on a kali linux machine and i tried to do user installs and global installs. It only seems to work out for the root user. I saw someone already had this issue but it didn't work for me. image.png (view on web) https://github.com/andresgongora/synth-shell/assets/96929981/c7bd1078-0c76-435e-937d-87a8606f0836

— Reply to this email directly, view it on GitHub https://github.com/andresgongora/synth-shell/issues/258, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC36INVNHBJMPMRY6BPXGCTYKHSRHAVCNFSM6AAAAABA3VWU3KVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2DSMRZHE4TANQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

PitiPipouSauvage commented 7 months ago

It is linked on my root's .bashrc file but not on my user's .bashrc file. Should I copy paste the .bashrc of my root into the one of my user ?

PitiPipouSauvage commented 7 months ago

It worked doing sudo cat /root/.bashrc > .bashrc when you're in your home directory