Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#12632 closed bug (no change required)

My /home/.profile file (with Terminal's customizations) is ignored.

Reported by: Giova84 Owned by: jackburton
Priority: normal Milestone: Unscheduled
Component: Applications/Terminal Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description

Hi, I recently updated Haiku to hrev50067 (previously I had an old nightly image from one year ago; I don't remember the exact hrev, however)

I always had a .profile file under /home, which contains some Terminal customizations (prompt and colors). Well, after the recent update, the /home/.profile file is being ignored: when I open a Terminal window, in fact, my customizations aren't displayed. I can affirm that the content of such .profile is valid, since if I insert the content in the other profile file (the other, the one which is located as /boot/system/settings/etc/profile) I can see my customization.

The following is the content of my .profile file:

Yellow='\e[0;33m\]'        # Yellow
Red='\e[0;31m\]'          # Red
Gray='\e[0;37m\]'         #Gray

export PS1="\[$(tput setaf 7)\][\A]\[$(tput setaf 1)\] « \[$(tput setaf 3)\]baron\[$(tput setaf 7)\]@\[$(tput setaf 3)\]haiku\[$(tput setaf 1)\] » \[$(tput sgr0)\]"

Change History (3)

comment:1 by humdinger, 4 years ago

Resolution: no change required
Status: newclosed

Some time back all the dot-files in "home" moved to ~/config/settings/ and lost their ".". Move your .profile to ~/config/settings/profile and it should work.

comment:2 by Giova84, 4 years ago

Thank you. It worked like a charm :-)

However I still see (freshly created, not from the previous installation) some dot file in "home", eg a file called .wget-hsts which is being generated by wget: if I delete this file, will be generated again by wget, under "home".

comment:3 by humdinger, 4 years ago

Yes, software ported to Haiku has to be adjusted. Issues for those should be opened at haikuports.

Note: See TracTickets for help on using tickets.