mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-14 18:57:20 -07:00
fixed a few $HOME/.$PKG
to $BYOBU_CONFIG_DIR
This commit is contained in:
parent
bfb7a763d0
commit
8f2a33ae9d
1 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ export BYOBU_CHARMAP=$(locale charmap)
|
|||
. "${BYOBU_PREFIX}/lib/${PKG}/include/common"
|
||||
|
||||
# Override backend if we can determine intentions from argv[0]
|
||||
[ -r "$HOME/.$PKG/backend" ] && . "$HOME/.$PKG/backend"
|
||||
[ -r "$BYOBU_CONFIG_DIR/backend" ] && . "$BYOBU_CONFIG_DIR/backend"
|
||||
case "$0" in
|
||||
*byobu-screen) BYOBU_BACKEND="screen" ;;
|
||||
*byobu-tmux) BYOBU_BACKEND="tmux" ;;
|
||||
|
@ -151,7 +151,7 @@ case $BYOBU_BACKEND in
|
|||
fi
|
||||
BYOBU_PROFILE="-f $BYOBU_PREFIX/share/$PKG/profiles/tmuxrc"
|
||||
# Set default window, unless user has overriden
|
||||
if egrep -qs "default-command|default-shell" $HOME/.$PKG/.tmux.conf >/dev/null 2>&1; then
|
||||
if egrep -qs "default-command|default-shell" $BYOBU_CONFIG_DIR/.tmux.conf >/dev/null 2>&1; then
|
||||
DEFAULT_WINDOW=
|
||||
else
|
||||
DEFAULT_WINDOW="new-session -n $BYOBU_WINDOW_NAME ${BYOBU_PREFIX}/bin/byobu-shell"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue