Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 604536 - =app-misc/tmux-2.2 starts new sessions in / instead of $HOME
Summary: =app-misc/tmux-2.2 starts new sessions in / instead of $HOME
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Shell Tools project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-03 18:44 UTC by Chris Henhawke
Modified: 2017-01-03 19:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output from starting a new tmux session with 2.2 (tmux-test.txt,240 bytes, text/plain)
2017-01-03 19:01 UTC, Chris Henhawke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Henhawke 2017-01-03 18:44:03 UTC
Starting new sessions in tmux sets pwd to / instead of $HOME.

app-misc/tmux-2.2::gentoo was built with the following:
USE="-debug (-selinux) -utempter -vim-syntax" ABI_X86="64"
Comment 1 Brian Evans (RETIRED) gentoo-dev 2017-01-03 18:52:14 UTC
(In reply to Chris Henhawke from comment #0)
> Starting new sessions in tmux sets pwd to / instead of $HOME.
> 
> app-misc/tmux-2.2::gentoo was built with the following:
> USE="-debug (-selinux) -utempter -vim-syntax" ABI_X86="64"

tmux inherits pwd from the shell it was started from.

If I start it in /usr, it starts the sessions in /usr.  I've never had it automatically move me to $HOME.

I don't consider it a bug, but won't close this right away to prove your case
Comment 2 Chris Henhawke 2017-01-03 19:01:27 UTC
Created attachment 458572 [details]
output from starting a new tmux session with 2.2

I hope this is sufficient.  Thanks
Comment 3 Chris Henhawke 2017-01-03 19:14:33 UTC
I did some more testing with an acquaintance of mine, it appears this only happens when starting a new 2.2 session while a 2.1 session is still running.  Exiting the 2.1 session gives me the proper behaviour.

Thanks and sorry for the confusion.