[PLUG] What should prompt look like?

Dick Steffens dick at dicksteffens.com
Wed Jan 9 19:08:33 UTC 2019


On 1/9/19 11:00 AM, Nat Taylor wrote:
> 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'll compare those to what I end up thinking I want. But now that I know 
what I have is normal, I probably won't change things. Mostly I was just 
trying to verify that something major was wrong with my Slackware 
install, since there have been some issues.

Thanks.

-- 
Regards,

Dick Steffens




More information about the PLUG mailing list