mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
parent
de1de53452
commit
1a7ba6cdc6
2 changed files with 8 additions and 1 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -98,6 +98,8 @@ byobu (4.18) unreleased; urgency=low
|
|||
- no need to search path on sourcing (thanks, Scott Moser)
|
||||
* usr/bin/byobu-launcher-install: LP: #809525
|
||||
- prevent profile from getting sourced twice (thanks, Scott Moser)
|
||||
* usr/bin/byobu-launch: LP: #806609
|
||||
- support zsh history append
|
||||
|
||||
[ James Spencer ]
|
||||
* usr/lib/byobu/.constants:
|
||||
|
|
|
@ -37,7 +37,12 @@ if [ "$BYOBU_SOURCED_PROFILE" != "1" ] && [ "$LC_BYOBU" != "0" ] && [ "$BYOBU_DI
|
|||
case "$-" in
|
||||
*i*)
|
||||
# Attempt to merge shell history across sessions/windows (works with a few exceptions)
|
||||
shopt -s histappend || true
|
||||
if command -v shopt >/dev/null; then
|
||||
shopt -s histappend || true
|
||||
elif command -v setopt >/dev/null; then
|
||||
# Support zsh too
|
||||
setopt appendhistory
|
||||
fi
|
||||
[ -n "$PROMPT_COMMAND" ] && PROMPT_COMMAND="$PROMPT_COMMAND;history -a" || PROMPT_COMMAND="history -a"
|
||||
# Source profile
|
||||
[ -r "$HOME/.profile" ] && . "$HOME/.profile"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue