mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
fix typos in byobu-status
Signed-off-by: Dustin Kirkland <kirkland@canonical.com>
This commit is contained in:
parent
27b36c3fd6
commit
64c4258553
1 changed files with 4 additions and 4 deletions
|
@ -43,9 +43,9 @@ DIR="/usr/lib/$PKG"
|
|||
[ -d "$HOME/.$PKG/bin" ] && DIR="$HOME/.$PKG/bin"
|
||||
|
||||
# Source global status configuration
|
||||
. "/etc/$PKG/statusrc" || true
|
||||
[ -r "/etc/$PKG/statusrc" ] && . "/etc/$PKG/statusrc"
|
||||
# Source local status configuration
|
||||
. "$HOME/.$PKG/status" || sed -i "s/-/_/g" "$HOME/.$PKG/status" || true
|
||||
[ -r "$HOME/.$PKG/status" ] && . "$HOME/.$PKG/status"
|
||||
|
||||
export P="$1"
|
||||
if [ "$P" = "--detail" ]; then
|
||||
|
@ -64,5 +64,5 @@ if [ "$P" = "--detail" ]; then
|
|||
else
|
||||
eval x=\$$P || exit 1
|
||||
[ "$x" = "1" ] || exit 0
|
||||
[ -x "$DIR"/"$P" ] exec "$DIR"/"$P"
|
||||
[ -x "$DIR/$P" ] && exec "$DIR/$P"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue