[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: [Fwd: [Bug 53345] .bash_profile script is not sourced]
From: James Richard Tyrer <tyrerj () acm ! org>
Date: 2004-02-29 20:57:04
Message-ID: 40425220.6030707 () acm ! org
[Download RAW message or body]
Matt Rogers wrote:
> On Thursday 26 February 2004 08:26 pm, Simon Perreault wrote:
>
>>On February 26, 2004 20:57, Thiago Macieira wrote:
>>
>>>It could. But there's nothing stopping a user from deciding he wants to
>>>replace bash as /bin/sh with a standard Bourne shell.
>>
>>No, no, I mean, if /bin/bash is found, then simply output "#!/bin/bash
>>--login" instead of "#!/bin/sh".
>>
>>That's actually JRT's solution. It's simple, it works and doesn't cause
>>problems for anyone.
>
>
> what if I have bash installed, but don't use it? That's the case here. I use
> zsh and haven't touched my .bash_profile (or .bashrc for that matter) in a
> while.
Well, first since you know enough to have changed your shell, you are
considered to be a knowledgeable user that could figure out how to fix
this. :-)
According to theory, all UNIX systems should have a POSIX/Bourne compatible
shell that is invoked by the command: "/bin/sh". IIUC, zsh will do this.
So, basically if your: "~/.bash_profile" scripts aren't up to date and the
: "~/.profile" scripts are, then you should delete the outdated ones --
Bash will use the: "~/.profile" file when started as login if it can't find
the: "~/.bash_profile" script. So, it should work OK unless you have put
zsh specific stuff in: "~/.profile". In that case, you need to make your:
"Xsession" script run with 'zsh' by changing the first line to point to zsh.
You shouldn't have to worry about the: "~/.bashrc" file unless you modified
it at some time since Konsole should use the '*rc" file for the shell that
you are using interactively -- the one specified in: "SHELL". If it
doesn't, this is another issue.
--
JRT
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic