Bash Prompt - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: Development (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=7) +--- Forum: Scripting and Bash (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=32) +--- Thread: Bash Prompt (/showthread.php?tid=5447) |
Bash Prompt - dave61430 - 07-05-2018 Running a trial of LL on both a virtual machine and live boot, I cannot change the prompt. PS1="\$ " works on any other distribution I've used but not on LL. No error message, just no change. Even put it in .bashrc. I've checked shell and it is bash. Any ideas or is this a bug. Currently using Mint 18.3, but seriously considering LL. Re: Bash Prompt - bitsnpcs - 07-05-2018 Hello dave61430, it can be changed on desktop installed LL 3.2 , LL 4 series uses different terminal, maybe a member using 4 series can try also ? ^Here I backup default prompt, echo backup to check it is correct, change prompt to PS1="\$ ", run cal to show new prompt holds after additional command, then restore to the backup of default prompt. Re: Bash Prompt - thomasd - 06-27-2019 I have the same problem, running LL 4.4, I cannot change the bash prompt in any terminal. I've tracked it through all the normal config files and changed everything I thought might have an effect, to no avail. One suspicious thing, the definition for PS1 when you echo it is fully expanded: Code: thomasd ~ echo $PS1 so it looks like some service somewhere is setting PS1 in the background. Help! Re: Bash Prompt - trinidad - 06-29-2019 Not quite sure of your question here. Are you saying you are running the "live" ISO or an installed system? You can certainly customize the prompt on any Linux/Unix system ... except for many "live" ISOs and "safe" mode mods. TC Re: Bash Prompt - Valtam - 06-30-2019 Thread hijacks don't require a response other than from a Mod to delete said post. Thanks TC. Sent from my Phone using Tapatalk Re: Bash Prompt - zeozod - 04-25-2020 There is a shell variable PROMPT_COMMAND that is interfering with all of the normal means of setting the bash shell prompt. The following in your .bashrc should fix it. unset PROMPT_COMMAND PS1=whatever: |