This is already the case.
See in lp:byobu usr/lib/byobu/include/dirs:
# Create and export the user configuration directory
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/.config/$PKG" ]; then
# Use XDG config directory, if it exists
export BYOBU_CONFIG_DIR="$HOME/.config/$PKG"
elif [ -d "$HOME/.local/share/$PKG" ]; then
# Use XDG local directory, if it exists
export BYOBU_CONFIG_DIR="$HOME/.local/share/$PKG"
else
# And to default to good old classic config dir location!
export BYOBU_CONFIG_DIR="$HOME/.$PKG"
fi
If you don't want ~/.byobu, then rm -rf it and set XDG_CONFIG_HOME in your
environment.
** Changed in: byobu (Ubuntu)
Importance: Undecided => Wishlist
** Changed in: byobu (Ubuntu)
Status: New => Incomplete
** Changed in: byobu
Status: Incomplete => Fix Released
** Changed in: byobu (Ubuntu)
Status: Incomplete => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1105784
Title:
Please support the XDG base directory spec
To manage notifications about this bug go to:
https://bugs.launchpad.net/byobu/+bug/1105784/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs