mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
* screen-launcher-install, screen-launcher-uninstall: support
screen-by-default installation for zsh users, LP: #368960 Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
8be90fbec3
commit
7104f7dcf8
3 changed files with 9 additions and 2 deletions
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -11,8 +11,10 @@ screen-profiles (1.52) unreleased; urgency=low
|
|||
windows otherwise as this breaks F5-refresh, LP: #368786
|
||||
* screen-profiles: ensure that all registered keybindings get updated
|
||||
if the user changes their escape sequence, LP: #368937
|
||||
* screen-launcher-install, screen-launcher-uninstall: support
|
||||
screen-by-default installation for zsh users, LP: #368960
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 29 Apr 2009 02:10:39 -0500
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Wed, 29 Apr 2009 02:28:48 -0500
|
||||
|
||||
screen-profiles (1.51-0ubuntu1) karmic; urgency=low
|
||||
|
||||
|
|
|
@ -33,6 +33,11 @@ install_screen_launcher() {
|
|||
# Install in $HOME/.profile unconditionally
|
||||
install_screen_launcher "$HOME/.profile"
|
||||
|
||||
# Install in zprofile if default shell is zsh
|
||||
if grep -qs "^$USER:.*zsh$" /etc/passwd; then
|
||||
install_screen_launcher "$HOME/.zprofile"
|
||||
fi
|
||||
|
||||
# Now, install in any shell-specific profiles, if they exist
|
||||
# This list may grow to support other shells
|
||||
for i in ".bash_profile" ".bash_login"; do
|
||||
|
|
|
@ -26,6 +26,6 @@ remove_screen_launcher() {
|
|||
fi
|
||||
}
|
||||
|
||||
for i in ".profile" ".bashrc" ".bash_profile"; do
|
||||
for i in ".profile" ".bashrc" ".bash_profile" ".zprofile"; do
|
||||
remove_screen_launcher "$HOME/$i"
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue