mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 22:34:23 -07:00
* usr/lib/byobu/.dirs:
- fall back to the tmux tmpdir
This commit is contained in:
parent
1be35d3b9f
commit
b4f4383812
2 changed files with 5 additions and 0 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -83,6 +83,8 @@ byobu (4.30) unreleased; urgency=low
|
||||||
- check exist status of session listing
|
- check exist status of session listing
|
||||||
* usr/lib/byobu/.dirs:
|
* usr/lib/byobu/.dirs:
|
||||||
- fix stray directory creation
|
- fix stray directory creation
|
||||||
|
* usr/lib/byobu/.dirs:
|
||||||
|
- fall back to the tmux tmpdir
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 11 Aug 2011 10:31:31 -0500
|
-- Dustin Kirkland <kirkland@ubuntu.com> Thu, 11 Aug 2011 10:31:31 -0500
|
||||||
|
|
||||||
|
|
|
@ -44,6 +44,9 @@ if [ -d "$XDG_CACHE_HOME" ]; then
|
||||||
elif [ -d "$SOCKETDIR/S-$USER" ]; then
|
elif [ -d "$SOCKETDIR/S-$USER" ]; then
|
||||||
# But for FAR better performance, use a tmpfs if available
|
# But for FAR better performance, use a tmpfs if available
|
||||||
export BYOBU_RUN_DIR="$SOCKETDIR/S-$USER/$PKG"
|
export BYOBU_RUN_DIR="$SOCKETDIR/S-$USER/$PKG"
|
||||||
|
elif [ -d "$(dirname $TMUX)" ]; then
|
||||||
|
# Or perhaps try the tmux tmpdir
|
||||||
|
export BYOBU_RUN_DIR="$(dirname $TMUX)/$PKG"
|
||||||
else
|
else
|
||||||
# But if not, we'll use a cache directory
|
# But if not, we'll use a cache directory
|
||||||
export BYOBU_RUN_DIR="$HOME/.cache/$PKG"
|
export BYOBU_RUN_DIR="$HOME/.cache/$PKG"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue