mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
bin/disk: fix missing %, LP: #497136
This commit is contained in:
commit
8411959a4f
2 changed files with 5 additions and 1 deletions
2
bin/disk
2
bin/disk
|
@ -33,5 +33,5 @@ case $MP in
|
|||
esac
|
||||
|
||||
disk=$(df -h -P "$MP" 2>/dev/null || df -h "$MP")
|
||||
disk=$(echo "$disk" | tail -n 1 | awk '{print $2 " " $5}' | sed "s/\([^0-9\. ]\)/ \1/g" | awk '{printf "%d%sB,%d%", $1, $2, $3}')
|
||||
disk=$(echo "$disk" | tail -n 1 | awk '{print $2 " " $5}' | sed "s/\([^0-9\. ]\)/ \1/g" | awk '{printf "%d%sB,%d%%", $1, $2, $3}')
|
||||
printf "$(color M W)%s$(color -) " "$disk"
|
||||
|
|
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -1,9 +1,13 @@
|
|||
byobu (2.41) unreleased; urgency=low
|
||||
|
||||
[ Dustin Kirkland ]
|
||||
* byobu:
|
||||
- check number of args for "1", and "-v", LP: #494465
|
||||
- make more zsh friendly, don't use -c
|
||||
|
||||
[ Jon Bernard ]
|
||||
* bin/disk: fix missing %, LP: #497136
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Sun, 13 Dec 2009 19:16:43 -0800
|
||||
|
||||
byobu (2.40-0ubuntu1) lucid; urgency=low
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue