alias/lsblk
This commit is contained in:
parent
840a1747f9
commit
4a89985362
1 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,7 @@
|
|||
# handle block devices
|
||||
|
||||
# list block devices
|
||||
lb() { a__list_block "${@}"; }
|
||||
#= lb
|
||||
a__list_block() {
|
||||
a__list_block_output \
|
||||
"SIZE" \
|
||||
|
@ -11,7 +13,7 @@ a__list_block() {
|
|||
}
|
||||
|
||||
# base arguments
|
||||
lbne() { a__list_block_no_empty "${@}"; }
|
||||
#= lbne
|
||||
a__list_block_no_empty() {
|
||||
lsblk \
|
||||
--noempty \
|
||||
|
@ -19,7 +21,7 @@ a__list_block_no_empty() {
|
|||
}
|
||||
|
||||
# output arguments
|
||||
lbo() { a__list_block_output "${@}"; }
|
||||
#= lbo
|
||||
a__list_block_output() {
|
||||
local argument
|
||||
local arguments="NAME"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue