#501 closed bug (fixed)
[Terminal] .profile
Reported by: | diver | Owned by: | korli |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
*1. I've added simple script to /boot/home/.profile. It changes terminal window title on change dir, but it wont work in Haiku
function path_title()
{
echo -en "\033]2;pwd
\007"
}
PROMPT_COMMAND=path_title
*2. Also PS1='$PWD>' doesn't work either.
Attachments (1)
Change History (16)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
Cc: | added |
---|
comment:3 by , 19 years ago
(In reply to comment #1)
Your second item works here. Could you check it again ?
Yep, the second one works now, it must be i wrote it wrong in .profile 1st item still there though.
comment:4 by , 19 years ago
Owner: | changed from | to
---|
comment:5 by , 19 years ago
bug_group: | → developers |
---|
comment:6 by , 19 years ago
Resolution: | → fixed |
---|
comment:8 by , 19 years ago
Status: | new → closed |
---|
comment:9 by , 19 years ago
blocked: | → 556 |
---|
comment:10 by , 19 years ago
Status: | closed → reopened |
---|
comment:11 by , 19 years ago
After this fix i get sh crash whatever i type in terminal and press enter. It happens only if i have following lines in .profile
function path_title()
{
echo -en "\033]2;pwd
\007"
}
PROMPT_COMMAND=path_title
See #556 for back trace. Reopening bug for now.
comment:12 by , 19 years ago
Resolution: | fixed |
---|
comment:13 by , 19 years ago
Resolution: | → fixed |
---|
comment:14 by , 19 years ago
Status: | reopened → closed |
---|
Your second item works here. Could you check it again ?