mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 06:23:19 -07:00
replace "~" with "$HOME" in all documentation and comments
This commit is contained in:
parent
1b5b6c6c21
commit
2f8ad81265
5 changed files with 9 additions and 6 deletions
|
@ -2,7 +2,10 @@
|
||||||
# This script should be run during in the './debian/rules get-orig-source'
|
# This script should be run during in the './debian/rules get-orig-source'
|
||||||
# step.
|
# step.
|
||||||
|
|
||||||
rm -f profiles/debian-* profiles/fedora-* profiles/redhat-* profiles/ubuntu-*
|
rm -vf profiles/debian-* profiles/fedora-* profiles/redhat-* profiles/ubuntu-*
|
||||||
|
if [ "$1" = "--clean" ]; then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
for i in $(ls profiles/logos); do
|
for i in $(ls profiles/logos); do
|
||||||
echo "Generating profile: $i-light"
|
echo "Generating profile: $i-light"
|
||||||
|
|
4
screen
4
screen
|
@ -24,13 +24,13 @@
|
||||||
# The following hack should be removed after Jaunty goes GA
|
# The following hack should be removed after Jaunty goes GA
|
||||||
# (should only affect upgrading Alpha users)
|
# (should only affect upgrading Alpha users)
|
||||||
# See LP: #335275
|
# See LP: #335275
|
||||||
# Collapse ~/.screenrc-* into ~/.screen-profiles/*
|
# Collapse $HOME/.screenrc-* into $HOME/.screen-profiles/*
|
||||||
for i in ec2-cost keybindings profile updates-available windows; do
|
for i in ec2-cost keybindings profile updates-available windows; do
|
||||||
mv -f "$HOME/.screenrc-$i" "$HOME/.screen-profiles/$i" 2>/dev/null
|
mv -f "$HOME/.screenrc-$i" "$HOME/.screen-profiles/$i" 2>/dev/null
|
||||||
done
|
done
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|
||||||
# If ~/.screenrc exists but ~/.screen-profiles/profile does not,
|
# If $HOME/.screenrc exists but $HOME/.screen-profiles/profile does not,
|
||||||
# this shows that the user has an existing custom screen configuration,
|
# this shows that the user has an existing custom screen configuration,
|
||||||
# and thus we will not bother them with a select-screen-profile prompt.
|
# and thus we will not bother them with a select-screen-profile prompt.
|
||||||
if [ -r "$HOME/.screenrc" -a ! -e "$HOME/.screen-profiles/profile" ]; then
|
if [ -r "$HOME/.screenrc" -a ! -e "$HOME/.screen-profiles/profile" ]; then
|
||||||
|
|
|
@ -30,7 +30,7 @@ install_screen_launcher() {
|
||||||
# Sanitize the environment
|
# Sanitize the environment
|
||||||
/usr/share/screen-profiles/screen-launcher-uninstall || true
|
/usr/share/screen-profiles/screen-launcher-uninstall || true
|
||||||
|
|
||||||
# Install in ~/.profile unconditionally
|
# Install in $HOME/.profile unconditionally
|
||||||
install_screen_launcher "$HOME/.profile"
|
install_screen_launcher "$HOME/.profile"
|
||||||
|
|
||||||
# Now, install in any shell-specific profiles, if they exist
|
# Now, install in any shell-specific profiles, if they exist
|
||||||
|
|
|
@ -5,7 +5,7 @@ screen\-launcher \- Screen Launcher
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
\fBscreen\-launcher\fP is a simple application that will launch "screen", reconnecting to an existing detached session (if available).
|
\fBscreen\-launcher\fP is a simple application that will launch "screen", reconnecting to an existing detached session (if available).
|
||||||
|
|
||||||
This script exists for simple insertion and removal from a user's ~/.screenrc file, by the \fBscreen\-profiles\fP utility.
|
This script exists for simple insertion and removal from a user's $HOME/.screenrc file, by the \fBscreen\-profiles\fP utility.
|
||||||
|
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.PD 0
|
.PD 0
|
||||||
|
|
|
@ -5,7 +5,7 @@ select\-screen\-profile \- Screen Profile Selector
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
\fBselect\-screen\-profile\fP is an application that lists the available screen profiles on a system and prompts the user to select one.
|
\fBselect\-screen\-profile\fP is an application that lists the available screen profiles on a system and prompts the user to select one.
|
||||||
|
|
||||||
The selected profile will be symbolically linked into the current user's ~/.screen-profiles/profile, if that file does not yet exist, or is currently a symbolic link.
|
The selected profile will be symbolically linked into the current user's $HOME/.screen-profiles/profile, if that file does not yet exist, or is currently a symbolic link.
|
||||||
|
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.PD 0
|
.PD 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue