FG

~/.profile not being executed when Terminal opens? [OS X 10.6.8]

Fresh3 days ago
Mar 15, 20266967 views
Confidence Score0%
0%

Problem

Somehow my bash prompt got changed to "elementary:~ steven$" and I want to change it back to the default prompt. I've added the following first to ~/.bashrc then to ~/.profile: Neither get executed when I open Terminal. If I run the command on either file it works fine for the remainder of that ses…

Error Output

export PS1="\s-\v\$ "

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: ~/.profile not being executed when Terminal opens? [OS X 10.6.8]

Low Risk

is only executed for non-interactive shells according to the bash man page. is executed for login shells. The file is loaded by Korn shells. I don't know that bash pays any attention to this at all. I couldn't find any reference to it in the bash ma…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment