On Wed, Jan 27, 2010 at 12:33, Micah Cowan <mi...@cowan.name> wrote:

> Nicholas Marriott wrote:
> > On Wed, Jan 27, 2010 at 10:05:14AM -0500, Levesque, Jean-Yves wrote:
> >>    All,
> >>
> >>    first post. I did not find the answer to my questions ion the web.
> >>    I am starting to use tmux and I like it so far. However there are two
> >>    small issues that keep me from leaving screen yet.
> >>
> >>    - The bash prompt withing tmux does not change when I change
> directories.
> >>    * This works outside tmux and also withing screen (ie bash PS1 does
> not
> >>    change).
> >
> > Impossible to guess at this without any information. The PS1 would help
> for a
> > start.
>
> My guess would be the login-shell-versus-not thing. Maybe he sets up PS1
> in his .bashrc, but not his .bash_profile/.profile?
>
> Screen's default is not to spawn login shells (perhaps because it does
> utmp-ish stuff itself). Tmux's default is to spawn login shells.
>
> Jean-Yves, try putting "set -g default-command /bin/bash" in your
> .tmux.conf. Or, even better, source your .bashrc from within your
> .bash_profile or .profile.
>
>    Works. thanks.  What about the backgound now. Any idea?


>  --
> Micah J. Cowan
> http://micah.cowan.name/
>
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to