X-Git-Url: http://git.grml.org/?p=grml-etc-core.git;a=blobdiff_plain;f=usr_share_grml%2Fzsh%2Ffunctions%2Flsdisk;h=d5bc9dd0a3e23e3eb0a2225dacd6206bd2e82f7f;hp=ef0a64e24ddd2872d4d36a123459c844a129ab8c;hb=caf69617a46822429e1d366d1bf0eab8fb50376a;hpb=3d0fba5aef58bc11043060bbb6f771565755abe1 diff --git a/usr_share_grml/zsh/functions/lsdisk b/usr_share_grml/zsh/functions/lsdisk index ef0a64e..d5bc9dd 100644 --- a/usr_share_grml/zsh/functions/lsdisk +++ b/usr_share_grml/zsh/functions/lsdisk @@ -27,6 +27,7 @@ for dev in "$disks[@]"; do ${mountinfo["$dev"][(w)1]} \ ${mountinfo["$dev"][(w)2]} \ "${mountinfo["$dev"][(w)3,-5]}" + fi for sysdevsize in \ /sys/block/${dev:t}/size(N) \ /sys/block/${${dev:t}%%<->}/${dev:t}/size(N)