mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
* usr/lib/byobu/.dirs:
- fix breakage when $TMUX is undefined
This commit is contained in:
parent
fc3285e014
commit
35aafb4eca
2 changed files with 3 additions and 1 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -4,6 +4,8 @@ byobu (4.31) unreleased; urgency=low
|
|||
- fix bold color printing
|
||||
* usr/bin/byobu-janitor, usr/share/byobu/profiles/common:
|
||||
- deprecate backticks file, no longer needed
|
||||
* usr/lib/byobu/.dirs:
|
||||
- fix breakage when $TMUX is undefined
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Sun, 21 Aug 2011 21:12:43 -0700
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ if [ -d "$XDG_CACHE_HOME" ]; then
|
|||
elif [ -d "$SOCKETDIR/S-$USER" ]; then
|
||||
# But for FAR better performance, use a tmpfs if available
|
||||
export BYOBU_RUN_DIR="$SOCKETDIR/S-$USER/$PKG"
|
||||
elif [ -d "$(dirname $TMUX)" ]; then
|
||||
elif [ -n "$TMUX" ] && [ -d "$(dirname $TMUX)" ]; then
|
||||
# Or perhaps try the tmux tmpdir
|
||||
export BYOBU_RUN_DIR="$(dirname $TMUX)/$PKG"
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue