mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
* usr/lib/byobu/include/dirs: LP: #780081
- use ~/.local/share/byobu as BYOBU_CONFIG_DIR, if it happens to exist
This commit is contained in:
parent
9d1f4af492
commit
c242187499
2 changed files with 6 additions and 1 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -23,6 +23,8 @@ byobu (4.53) unreleased; urgency=low
|
|||
correct BYOBU_PREFIX value and store it in ~/.byoburc
|
||||
- ~/.byoburc is now read by all usr/bin/* in order to find the
|
||||
correct prefix
|
||||
* usr/lib/byobu/include/dirs: LP: #780081
|
||||
- use ~/.local/share/byobu as BYOBU_CONFIG_DIR, if it happens to exist
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 05 Dec 2011 08:59:08 -0600
|
||||
|
||||
|
|
|
@ -28,8 +28,11 @@ PKG="byobu"
|
|||
if [ -d "$XDG_CONFIG_HOME" ]; then
|
||||
# Use XDG, as some users insist on such nonsense :-)
|
||||
export BYOBU_CONFIG_DIR="$XDG_CONFIG_HOME/$PKG"
|
||||
elif [ -d "$HOME/.local/share/$PKG" ]; then
|
||||
# Use XDG common directory, if it exists
|
||||
export BYOBU_CONFIG_DIR="$HOME/.local/share/$PKG"
|
||||
else
|
||||
# But fall back to classic config dir location
|
||||
# And to default to good old classic config dir location!
|
||||
export BYOBU_CONFIG_DIR="$HOME/.$PKG"
|
||||
fi
|
||||
[ -d "$BYOBU_CONFIG_DIR" ] || mkdir -p "$BYOBU_CONFIG_DIR"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue