Putting the PS1 line in a blank .bashrc file should do the trick

Here's mine:

#

# ~/.bashrc

#


# If not running interactively, don't do anything

[[ $- != *i* ]] && return


alias ls='ls --color=auto'

PS1='[\u@\h \W]\$ '






and here is my .bash_profile




#

# ~/.bash_profile

#


[[ -f ~/.bashrc ]] && . ~/.bashrc







I omitted the lines pertaining to byobu

On Wed, Jan 9, 2019 at 8:51 AM Dick Steffens <d...@dicksteffens.com> wrote:

> On 1/9/19 8:46 AM, David wrote:
> >
> > There are two files that get sourced on login, depending on how you
> > start a session:
> >
> >     .bash_profile
> >     .bashrc
> >
> >
> https://apple.stackexchange.com/questions/51036/what-is-the-difference-between-bash-profile-and-bashrc
>
> The only file I have starting with .bash is .bash_history
>
> --
> Regards,
>
> Dick Steffens
>
>
> _______________________________________________
> PLUG mailing list
> PLUG@pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
_______________________________________________
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to