~kirkland/byobu/trunk

« back to all changes in this revision

Viewing changes to usr/bin/byobu-disable-prompt.in

  • Committer: Dustin Kirkland
  • Date: 2019-06-01 20:48:17 UTC
  • mfrom: (2611.1.19 openwrt)
  • Revision ID: kirkland@ubuntu.com-20190601204817-1rj3f5m2oqsarnz9
* usr/bin/byobu-disable-prompt.in,
  usr/bin/byobu-janitor.in:
  - Test if $HOME/.bashrc exists before modifying it (and potentially
    creating it)
* usr/bin/byobu-export.in:
  - Use echo if the gettext command is not available
* usr/bin/byobu.in:
  - Use readlink if the tty command is not available
* usr/bin/byobu-janitor.in:
  - Add fallback if the install command is not available
* usr/bin/byobu-launch.in:
  - Don't autolaunch for ARM serial consoles
* usr/lib/byobu/disk_io:
  - Ensure the detected mount point device exists
* usr/lib/byobu/hostname:
  - Read from /proc/sys/kernel/hostname if the hostname command is not
    available
* usr/lib/byobu/logo:
  - Add logo for OpenWrt
* usr/lib/byobu/processes:
  - Handle stderr for ps, e.g. unsupported options
  - Remove unnecessary awk call; wc -l only outputs one value
* usr/lib/byobu/raid:
  - Ensure /proc/mdstat is readable
* usr/lib/byobu/release:
  - Fix typo
* usr/lib/byobu/services:
  - Fix reading services from $BYOBU_CONFIG_DIR/statusrc
* usr/lib/byobu/session:
  - Fix screen session regex
* usr/lib/byobu/updates_available:
  - Add support for opkg (OpenWrt)
* usr/lib/byobu/users:
  - Handle stderr for ps, e.g. unsupported options
  - Fix trailing '#' sign
* usr/lib/byobu/whoami:
  - Use id if the whoami command is not available
  - Read from /etc/passwd if the getent command is not available
* usr/lib/byobu/wifi_quality:
  - Add support for iw (preferred over iwconfig)
  - Make logic more similar to other status notifications
* usr/share/byobu/keybindings/f-keys.tmux:
  - Remove -k for new-window. In older versions of tmux, -k without
    -t <target-window> had no effect. In tmux 2.8, -k without -t will
    not trigger a new window; the given command is executed in the
    current window instead.
  - Rename the new window created after adding a new session

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
[ -z "${BYOBU_PREFIX}" ] && export BYOBU_PREFIX="@prefix@" || export BYOBU_PREFIX
23
23
. "${BYOBU_PREFIX}/lib/${PKG}/include/common"
24
24
 
 
25
[ -w "$HOME/.bashrc" ] || exit 1
 
26
 
25
27
$BYOBU_SED_INLINE -e "/#byobu-prompt#$/d" "$HOME/.bashrc"
26
28
 
27
29
if [ "$1" != "--no-reload" ]; then