diff --git a/sh/alias/lsblk.sh b/sh/alias/lsblk.sh index 35e0c73..42f3790 100644 --- a/sh/alias/lsblk.sh +++ b/sh/alias/lsblk.sh @@ -2,8 +2,8 @@ # list block devices #= lb -a__list_block() { - a__list_block_output \ +rwx_list_block() { + rwx_list_block_output \ "SIZE" \ "TYPE" \ "FSTYPE" \ @@ -13,8 +13,9 @@ a__list_block() { } # base arguments +#| lsblk #= lbne -a__list_block_no_empty() { +rwx_list_block_no_empty() { lsblk \ --noempty \ "${@}" @@ -22,12 +23,12 @@ a__list_block_no_empty() { # output arguments #= lbo -a__list_block_output() { +rwx_list_block_output() { local argument local arguments="NAME" for argument in "${@}"; do arguments="${arguments},${argument}" done - a__list_block_no_empty \ + rwx_list_block_no_empty \ --output "${arguments}" }