mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 05:53:22 -07:00
* usr/lib/byobu/include/select-session.py: LP: #1411122
- don't print when attaching and restoring environment variables
This commit is contained in:
commit
1ecf60b47d
2 changed files with 3 additions and 3 deletions
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -1,6 +1,8 @@
|
|||
byobu (5.90) unreleased; urgency=medium
|
||||
|
||||
* UNRELEASED
|
||||
[ Mike Miller ]
|
||||
* usr/lib/byobu/include/select-session.py: LP: #1411122
|
||||
- don't print when attaching and restoring environment variables
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 12 Jan 2015 17:39:42 -0600
|
||||
|
||||
|
|
|
@ -88,12 +88,10 @@ def update_environment(session):
|
|||
cmd = ["tmux", "setenv", "-t", session_name, var, value]
|
||||
else:
|
||||
cmd = ["screen", "-S", session_name, "-X", "setenv", var, value]
|
||||
print("Sending variable: %s" % (cmd, ))
|
||||
subprocess.call(cmd, stdout=open(os.devnull, "w"))
|
||||
|
||||
|
||||
def attach_session(session):
|
||||
print("Attaching: [%s]\n" % session)
|
||||
update_environment(session)
|
||||
backend, session_name = session.split("____", 2)
|
||||
# must use the binary, not the wrapper!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue