* usr/lib/byobu/include/common: LP: #1180427

- handle zsh's interpretation of "command -v", let it fall through
    to use 'type' for BYOBU_TEST
This commit is contained in:
Dustin Kirkland 2013-07-16 16:59:30 -05:00
commit 8881112aad
2 changed files with 4 additions and 1 deletions

3
debian/changelog vendored
View file

@ -7,6 +7,9 @@ byobu (5.46) unreleased; urgency=low
[ Dustin Kirkland ]
* usr/share/byobu/keybindings/f-keys.tmux: LP: #1190290
- handle spaces in windows and layouts properly
* usr/lib/byobu/include/common: LP: #1180427
- handle zsh's interpretation of "command -v", let it fall through
to use 'type' for BYOBU_TEST
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 15 Jul 2013 15:52:56 -0500

View file

@ -24,7 +24,7 @@ if [ -z "${BYOBU_INCLUDED_LIBS}" ]; then
# Find command/type/which
for BYOBU_TEST in "command -v" "type" "which"; do
$BYOBU_TEST >/dev/null && break
$BYOBU_TEST >/dev/null && break || true
done
# If the backend is already set (eg. running `byobu-tmux`), do nothing.