mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-20 13:33:23 -07:00
fix expr: syntax error by initiate integer value
This commit is contained in:
parent
946c975277
commit
36e7420d5d
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ current_panes=$(tmux list-panes | wc -l)
|
||||||
list_layouts() {
|
list_layouts() {
|
||||||
echo
|
echo
|
||||||
echo "Byobu Saved Layouts"
|
echo "Byobu Saved Layouts"
|
||||||
local count=0 i= desc= count= p=
|
local count=0 i= desc= p=
|
||||||
for i in $PRESETS "$DIR"/*; do
|
for i in $PRESETS "$DIR"/*; do
|
||||||
desc=${i##*/}
|
desc=${i##*/}
|
||||||
count=$(expr $count + 1)
|
count=$(expr $count + 1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue