mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 14:03:18 -07:00
* usr/lib/byobu/include/dirs: LP: #899271
- allow explicit BYOBU_CONFIG_DIR selection in ~/.byoburc
This commit is contained in:
parent
91d1d09d0d
commit
7fb5da7e57
2 changed files with 5 additions and 1 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -26,6 +26,8 @@ byobu (4.53) unreleased; urgency=low
|
|||
correct prefix
|
||||
* usr/lib/byobu/include/dirs: LP: #780081
|
||||
- use ~/.local/share/byobu as BYOBU_CONFIG_DIR, if it happens to exist
|
||||
* usr/lib/byobu/include/dirs: LP: #899271
|
||||
- allow explicit BYOBU_CONFIG_DIR selection in ~/.byoburc
|
||||
|
||||
[ Andrew McCarthy ]
|
||||
* usr/bin/byobu-status: LP: #898801
|
||||
|
|
|
@ -25,7 +25,9 @@ PKG="byobu"
|
|||
[ -n "$BYOBU_PREFIX" ] || BYOBU_PREFIX="/usr"
|
||||
|
||||
# Create and export the user configuration directory
|
||||
if [ -d "$XDG_CONFIG_HOME" ]; then
|
||||
if [ -d "$BYOBU_CONFIG_DIR" ]; then
|
||||
export BYOBU_CONFIG_DIR="$BYOBU_CONFIG_DIR"
|
||||
elif [ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue